小池有话说

docker cheatsheet

2019-07-17

docker commit

http://www.docker.org.cn/book/docker/docer-save-changes-10.html

docker ps -l
docker commit 698 learn/ping

docker volume *

on windows https://blog.csdn.net/ldzm_edu/article/details/78251528

docker run -t -i -v /d/PycharmProjects:/test ldzm/myubuntu:14.04 /bin/bash

docker port reflect

https://blog.csdn.net/chengxuyuanyonghu/article/details/76630617

docker run  -p  ip:hostPort:containerPort  redis

hostPort:containerPort:映射本机的指定端口到虚拟机的指定端口。(常用) ​ 如:3306:3306,映射本机的3306端口到虚拟机的3306端口。