docker笔记

What is docker?

docker 基础命令

  1. 从image创建一个container并运行同时执行/bin/bash,防止container开启完成后无任务exit
    docker run -it pm /bin/bash