Pycharm连接Docker
手动
路径/etc/docker/daemon.json
1
2
3
4
5
6
7
8
9
10{
"registry-mirrors": [
"https://idsc5w8g.mirror.aliyuncs.com",
"https://docker.mirrors.ustc.edu.cn",
"https://registry.docker-cn.com",
"https://hub-mirror.c.163.com",
"https://mirror.ccs.tencentyun.com",
"https://reg-mirror.qiniu.com"
]
}重启docker
1
2systemctl daemon-reload
systemctl restart docker
指令
1 | sudo mkdir -p /etc/docker |
1 | sudo tee /etc/docker/daemon.json <<-'EOF' |
1 | systemctl daemon-reload |
修改TAG版本
1 | docker tag bengenseo/os7py9:<none> bengenseo/os7py9:1.0 |
更新
1 | yum update |
配置SSH
路径/etc/ssh/sshd_config
1
2#开启账号密码登陆
PermitRootLogin yes命令,修改密码
1
passwd root
密码root
重启SSH
1
service sshd start
本地windows电脑测试
- cmd.exe
1
ssh [email protected]