Jump host/tier using Docker containers
docker-jumper is a way to give your users, employees, or customers a
more secure and flexible jump tier.
On your Docker host:
git clone https://github.com/jhazelwo/docker-jumper.git
cd docker-jumper
./jumper/build_base.sh
./jumper/build_users.sh
./jumper/run_users.sh
You should be able to SSH as the user and port you specified using your
private key!
Example Dockerfile-username file:
FROM jhazelwo/jumper:1.0
MAINTAINER "Jumper Admins" <jumper-admins@my-company.tld>
ENV PERSON zbeeblebrox
ENV PUBSSHKEY ssh-rsa AAAAB3NzEmmIKHw.......gt3gUNhANLmIokaw= me@laptop
ENV PORT 12345
The jumper/cfg/settings.sh file has the
repo name, container name and tag settings that the included scripts
use when building and running containers.
See the doc directory for more documentation including a
FAQ, the best ways to Log,
Patch, and extend your Jumper
install to do just about anything a jump tier can do.
‘Image’ vs. ‘Container’; these words are used all throughout the
documentation and it is critical that their meaning is clearly
understood as they are related but different things. An image is a
compiled object, the result of adocker build
command, and is akin to
a template. Images are built, not run. A container is a running process,
the result of adocker run
command. Containers are based on an image,
much like object instantiation. Deleting a container does not delete
the image the container is based on. Deleting an image can only be done
if no containers running use the image. For programmers, an image is
like a class declaration, a container is like an instance of a class.
Please open an
issue if you run
into a problem.
Open beta!
Pull Requests
welcome!