hyper-v manager
hyper-v settings: specify the default folder to store virtual hard disk
start docker后出现MobyLinuxVM
MobyLinuxVM settings: SCSI controller-->hard drive-->media-->virtual hard disk
MobyLinuxVM: move修改docker for windows存储设置
docker pull ubuntu:18.04 docker images 列出本地镜像 docker ps 列出容器 docker run [OPTIONS] IMAGE [COMMAND] [ARG...] 创建一个新容器,运行一个命令 docker exec [OPTIONS] CONTAINER COMMAND [ARG...] 在运行的容器中执行命令 docker stop [OPTIONS] CONTAINER [CONTAINER...] docker start [OPTIONS] CONTAINER [CONTAINER...] docker restart [OPTIONS] CONTAINER [CONTAINER...] docker rm [OPTIONS] CONTAINER [CONTAINER...] docker rmi [OPTIONS] IMAGE [IMAGE...]
docker commit {CONTAINER} {IMAGE}