Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

docker-centos

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

設定 root ssh 密碼

docker run -d -p 2222:22 -e ROOTPASSWORD=<YourPassword> fayehuang/centos
ssh container
ssh localhost -p 2222
root@localhost's password: <YourPassword>
Docker Pull Command
Owner
fayehuang
Source Repository