Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Usage

docker run -d --name devshell devshell
docker exec devshell add-uid-key $USERNAME /bin/bash "$(cat ~/.ssh/authorized_keys)"
ssh -A -p 2222 localhost
container$ ssh git@github.com

docker rm --force --time=1 devshell

TODO Add volume mapping to persist ongoing dev work, as per my Podman Notes.

The docker run -p 2222:22 port mapping is no longer required since we switched the default port to 2222 (for GCE).

Troubleshooting

see the sshd container.