Skip to content

Instantly share code, notes, and snippets.

@schors
Created July 27, 2017 14:53
Show Gist options
  • Save schors/e02e93b641890780ca54b1967071e45a to your computer and use it in GitHub Desktop.
Save schors/e02e93b641890780ca54b1967071e45a to your computer and use it in GitHub Desktop.
Docker SSH + pam_docker container run string example
docker run -d --privilged --pid=host -p 2022:22 -v /home:/home -v /var/opt/docker-env-etc:/var/opt/docker-env-etc -v /var/opt/security:/etc/security -v /var/run:/var/opt/docker-sock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment