centos 6 with ssh , epel , vim
####不設定 root ssh 密碼,預設密碼是 changeme
docker run -d -p 2222:22 fayehuang/centos
######ssh container
ssh localhost -p 2222
root@localhost's password: changeme
docker run -d -p 2222:22 -e ROOTPASSWORD=<YourPassword> fayehuang/centos
ssh localhost -p 2222
root@localhost's password: <YourPassword>
Content type
Image
Digest
sha256:1ff0a9fa2…
Size
108.1 MB
Last updated
about 11 years ago
docker pull fayehuang/centos