A Dockerfile to build a sshd service with supervisord on latest CentOS Container
authorized_keyscat ~/.ssh/id_rsa.pub >> authorized_keys
docker build --no-cache --rm -t local/centos .
ID=$(docker run -i -t -d -p 22 local/centos)
ssh localhost -p `docker port $ID 22 | cut -d":" -f2`
Root password is root
git checkout -b my-new-feature)git commit -am 'Add some feature')git push origin my-new-feature)Content type
Image
Digest
sha256:cf3d3653d…
Size
84.3 MB
Last updated
almost 11 years ago
docker pull shayashibara/docker-sshd-centos