Skip to content

Releases: muayyad-alsadi/docker-jumpshell

Major release, ready for the masses

15 Oct 15:02
Compare
Choose a tag to compare

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