docker ps -a #以下为示例输出 CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES a98e451e8545 webdemo "dotnet WebDemo…"5 minutes ago Up 5 minutes 0.0.0.0:80->80/tcp webdemo
删除项目容器
1
docker rm a98e
查看项目镜像
1 2 3 4 5 6 7
docker images #以下为示例输出 REPOSITORY TAG IMAGE ID CREATED SIZE webdemo latest 51656978590e 14 minutes ago 405MB microsoft/dotnet latest 3cd958947571 2 months ago 1.75GB microsoft/aspnetcore latest 36f6b6bc707a 2 months ago 325MB hello-world latest f2a91732366c 6 months ago 1.85kB