#!/bin/sh
set -e

# start SSHd in the background, like the horrible people we are
mkdir -p /var/run/sshd
/usr/sbin/sshd -D &

exec dockerd-entrypoint.sh "$@"

#!/bin/sh
set -e

# start SSHd in the background, like the horrible people we are
/etc/init.d/ssh start

exec dockerd-entrypoint.sh "$@"

Use Debian's init script to start ssh
Use Debian's init script to start ssh
