Skip to content

Instantly share code, notes, and snippets.

@schors
Last active August 6, 2017 16:41
Show Gist options
  • Save schors/c66f0e920ee61373f044d00c1192e0c9 to your computer and use it in GitHub Desktop.
Save schors/c66f0e920ee61373f044d00c1192e0c9 to your computer and use it in GitHub Desktop.
Docker SSH + pam_docker container entrypint.sh example
#!/bin/sh
set -e
ln -sf /var/opt/docker-sock/docker.sock /var/run/docker.sock
exec /usr/sbin/sshd -D -e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment