This is Docker Operating System SSHD Image.
2.2K
Dockerfile linkscentos6.6 (centos6.6/Dockerfile)centos6.7 (centos6.7/Dockerfile)centos6.8 (centos6.8/Dockerfile)centos6.9 (centos6.9/Dockerfile)centos7, latest (centos7/Dockerfile)centos7.0.1406 (centos7.0.1406/Dockerfile)centos7.1.1503 (centos7.1.1503/Dockerfile)centos7.2.1511 (centos7.2.1511/Dockerfile)centos7.3.1611 (centos7.3.1611/Dockerfile)alpine3.1 (alpine3.1/Dockerfile)alpine3.2 (alpine3.2/Dockerfile)alpine3.3 (alpine3.3/Dockerfile)alpine3.4 (alpine3.4/Dockerfile)alpine3.5 (alpine3.5/Dockerfile)alpine3.6 (alpine3.6/Dockerfile)ubuntu14.04 (ubuntu14.04/Dockerfile)ubuntu16.04 (ubuntu16.04/Dockerfile)ubuntu16.10 (ubuntu16.10/Dockerfile)ubuntu17.04 (ubuntu17.04/Dockerfile)ubuntu17.10 (ubuntu17.10/Dockerfile)Subscribe to project updates by watching the docker-os-sshd GitHub repo.
The recommended way to get the Dingwenxiang0 Operating System SSHD Docker Image is to pull the prebuilt image from the Docker Hub Registry.
docker pull dingwenxiang0/sshd
To use a specific version, you can pull a versioned tag. You can view the list of available versions in the Docker Hub Registry.
docker pull dingwenxiang0/sshd:[TAG]
docker run -d --name sshd -p 10022:22 dingwenxiang0/sshd:[TAG]
docker run -d --name sshd -p 10022:22 -e ROOT_PASS=yourPasswd dingwenxiang0/sshd:[TAG]
ssh-keygen -t rsa (just hit ENTER):

docker run -d --name sshd -p 10022:22 -e AUTHORIZED_KEYS=yourCopyContent dingwenxiang0/sshd:[TAG]docker logs sshd
ssh root@host -p 10022
docker exec -it sshd bash
docker rm -f sshd

How to solve the problem?
in host computer remove known_hosts file: rm -rf /root/.ssh/known_hosts
Content type
Image
Digest
Size
86.5 MB
Last updated
about 9 years ago
docker pull dingwenxiang0/sshd