Skip to content

Major release, ready for the masses

Latest
Compare
Choose a tag to compare
@muayyad-alsadi muayyad-alsadi released this 15 Oct 15:02
· 1 commit to master since this release

Simple and Secure way to give users access to docker containers

Features

  • It uses tmux
  • It works with mosh
  • ACL, but if you just want to access all add your user to jumpshell-all
  • can pick container via menu
  • can follow logs
  • can run scripts inside containers
  • no access to host

Picker

Logs

Installation

groupadd jumpshell
cd /usr/local/bin/
curl -sSLO https://raw.githubusercontent.com/muayyad-alsadi/docker-jumpshell/v1.5/docker-jumpshell-helper.sh
curl -sSLO https://raw.githubusercontent.com/muayyad-alsadi/docker-jumpshell/v1.5/docker-jumpshell.sh
chmod +x docker-jumpshell*.sh
cat <<EOF >/etc/sudoers.d/docker-jumpshell
Defaults    !requiretty
%jumpshell  ALL=(ALL)   NOPASSWD: /usr/local/bin/docker-jumpshell-helper.sh
EOF
useradd myuser
usermod -a -G jumpshell myuser
usermod -a -G jumpshell-all myuser
chsh -s /usr/local/bin/docker-jumpshell.sh myuser