[Docker] Container & image (docker run)
2023-09-14 09:00:52 时间
image: stopped container
Run a container:
docker run -d --name web -p 80:8080 nigelpoulton/pluralsight-docker-ci
Run in background.
Stop it:
docker stop web
Start it again:
docker start web
Stop all the running containers:
docker stop $(docker ps -aq)
Remove all the containers:
docker rm $(docker ps -aq)
remove all images:
docker rmi $(docker images -q)
相关文章
- git&github快速掌握
- 【个人专用&入门级】LAMP一键安装包
- CNStack 云服务&云组件:打造丰富的云原生技术中台生态
- 图解 & 深入浅出Java初始化与清理:构造器必知必会
- linux chkconfig 和 systemctl 区别 & 对比
- Execution error: 'the function name is not a recognized built-in function name'
- select * from table where 1<>1
- 'System.Data.DataRow.DataRow(System.Data.DataRowBuilder)' is inaccessible due to its protection leve
- WCF 在应用程序级别之外使用注册为 allowDefinition='MachineToApplication' 的节是错误的。
- CV之OpenCV:HALCON机器视觉软件简介&OpenCV的基础概念、常用案例(打开图片/摄像头/视频)、常用函数解释大全(C++/python语言)之详细攻略
- 用MITRE ATT&CK来规范化安全运行环境
- 谷歌技术"三宝"之MapReduce
- t检验&z检验学习[转载]
- Docker发布/上传镜像到dockerhub&&下载/拉取镜像&&删除dockerhub镜像
- 【docker】导入镜像报错磁盘空间不足的解决方法 && 【docker】修改默认的存储路径