Minimal image (6MB) for shellinabox based on Alpine Linux
412
Source: https://github.com/gerco/shellinabox-alpine
ShellInABox Dockerfiles for minimal image based on Alpine Linux
ShellInABox is a web-based terminal with which you can connect to a shell in a web browser.
I found the existing images for shellinabox too large. Most were based on some variation of Ubuntu or Debian linux and that installs way too many files and greatly increases the attack surface of any particular Docker image. To make this image as small as possible I took sukramlitt/docker-shellinabox and rebased it on Alpine Linux, a minimal Linux distribution with Busybox that looks like it was made for Docker.
You can use the included build.sh script for how to build the image. After the build you can delete the gerco/shellinabox-alpine-build image as it is no longer needed.
By default, this image will connect to a shell inside a Docker container with almost no tools installed. Since this isn't particularly useful, you may want to consider building a new image based on this one that connects to an SSH host instead. See the included Dockerfile.ssh for how to do this.
There is NO security in this image, it even disables SSL in this version. To use this on the public internet would be extremely irresponsible. Either enable SSL or run this behind a reverse proxy that provides SSL. Consider yourself warned!
Content type
Image
Digest
sha256:21b8a3b9f…
Size
2.6 MB
Last updated
almost 11 years ago
docker pull gerco/shellinabox-alpine