Ubuntu 13.10 that you can SSH into. Can run GUI apps with x11 forward.
# [Optional] Build Docker image (you can skip to the next step to fetch from the registry)
docker build -t bmpvieira/ssh .
# Run a new container in detached mode with SSH server running
docker run -d -p 42222:22 bmpvieira/ssh
# [OSX specific] Forward port to boot2docker VM (keep open and use another terminal)
boot2docker ssh -L 42222:localhost:42222 #password: tcuser
# Find IP address of the running container (check the PORTS column). On OSX it will always be localhost.
docker ps
# Connect to Docker container through SSH with X11 forward.
ssh root@localhost -p 42222 -Y #password: root
Content type
Image
Digest
sha256:32a789931…
Size
70.9 MB
Last updated
almost 11 years ago
docker pull bmpvieira/ssh