Docker container for an interactive linux shell. I use this to have a standard command line environment that I can run on any host I am using.
Docker Hub: https://hub.docker.com/r/cseelye/linux-shell/
Github: https://github.com/cseelye/docker-linux-shell
Tags:
cseelye/linux-shell:latest (current 18.04 based image) Dockerfile
cseelye/linux-shell:x11 (current image plus X11 support and some GUI apps) Dockerfile
cseelye/linux-shell:xenial (older 16.04 based image) Dockerfile
cseelye/linux-shell:xenial-x11 (older image plus X11) Dockerfile
:x11 tag if you want this)The linux-shell script should be run on the host to launch a shell. The script will automatically mount the X11 and docker sockets, so those features work, as well as mount your home directory into the container.
When run, the script will start a new container and launch an interactive shell in it. Or if the --shared arg is used with the script, the script will attempt to find an existing container and exec a new interactive shell in it, or launch a new container if one is not running.
There are some environment variables that can tweak the script behavior:
LINUX_SHELL_CONTAINER_NAME can be set to override the name prefix of the containers that are launchedLINUX_SHELL_RUN_OPTIONS can be set to add additional options to the docker run commandContent type
Image
Digest
Size
477.5 MB
Last updated
almost 8 years ago
docker pull cseelye/linux-shell