如何查看docker启动命令
时间: 2023-10-24 21:59:15 浏览: 171
如何查看docker run启动参数命令(推荐)
要查看Docker启动命令,可以使用以下方法:
1. 使用命令`docker ps -a`来显示当前Docker下的所有容器。这将列出所有正在运行的容器以及已停止的容器。\[1\]
2. 如果想要查看某个特定容器的启动命令,可以使用命令`docker inspect <容器ID>`。这将显示有关该容器的详细信息,包括启动命令。\[2\]
希望这些信息对您有所帮助!
#### 引用[.reference_title]
- *1* [【docker基础操作命令】(一)启动命令和镜像命令](https://blog.csdn.net/weixin_43598687/article/details/124637938)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [查看正在运行docker容器的启动命令](https://blog.csdn.net/weixin_43145427/article/details/123939000)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [查看docker启动时的命令参数以及更新参数](https://blog.csdn.net/jialiu111111/article/details/119722225)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文