Docker命令

1
2
3
4
5
6
7
8
9
docker version
docker ps

如果需要在运行容器的命令行界面中退出并返回主机命令行界面:
docker exec -it <CONTAINER_NAME_OR_ID> bash

如果想停止和删除容器,将<CONTAINER_NAME_OR_ID> 替换为要停止和删除的容器的名称或 ID:
docker stop <CONTAINER_NAME_OR_ID>
docker rm <CONTAINER_NAME_OR_ID>
作者

谷雨淋雨

发布于

2023-10-01

更新于

2024-01-04

许可协议

You need to set install_url to use ShareThis. Please set it in _config.yml.
You forgot to set the business or currency_code for Paypal. Please set it in _config.yml.

评论

You forgot to set the shortname for Disqus. Please set it in _config.yml.