docker ps:列出正在运行的 container
docker ps -a:列出所有的 container
docker rm [containerid]:移除 container(可并列多个,用空格区分)
docker search:搜索镜像
Docker命令:https://www.cnblogs.com/94cool/p/10265320.html
Dockerfile 的编写:https://www.cnblogs.com/liuyansheng/p/6098470.html
.net core 容器示例:https://docs.microsoft.com/zh-cn/dotnet/core/docker/build-container
docker 中的 ftp:
https://hub.docker.com/r/stilliard/pure-ftpd/
https://hub.docker.com/r/fauria/vsftpd/
docker 中的 nginx:(运行前请先建立 nginx.conf 文件)
docker pull nginx
docker run -d -v /home/nginx.conf:/etc/nginx/nginx.conf:ro -p 80:80 -p 8080:8080 --name nginx-main nginx
修改现有镜像:
https://www.cnblogs.com/lsgxeva/p/8746644.html
在 container 中对另一个 container 进行操作:
https://stackoverflow.com/questions/47748802/restart-container-after-another-container-is-deployed