docker 使用规则 在docker或网易蜂巢的镜像库中找到需要的image docker pull hub.c.163.com/library/mysql:latest docker images docker run -b -p 8888:8080 hub.c.163.com/library/mysql 后台运行 端口映射8888:8080 docker ps 运行的docker netstat -na|grep 8888 端口监听情况 docker build -t jpress . docker exec -it xx bash docker rm containerId docker rmi imageId docker stop 1f