用密码登录root docker官网给的sshdemo是ubuntu的,https://docs.docker.com/engine/examples/running_ssh_service/ 亲测可以 FROM ubuntu:16.04 RUN apt update #sshd RUN apt install -y openssh-server RUN mkdir /var/run/sshd RUN echo 'root:aaaa' | chpasswd RUN sed -i 's/P
摘要:win10安装docker进行学习的两种途径: Docker for Windows Installer.exe(地址https://download.docker.com/win/stable/Docker%20for%20Windows%20Installer.exe) DockerToolbox-19.03.1.exe(需要在docker hub进行注册ID,需要翻墙才能注册成功) 阿里云镜像提供的版本跟官方的不一致,更新比较慢:http://mirrors.aliyun.com/d