重启docker命令
时间: 2023-09-22 14:05:53 浏览: 114
docker命令参数大全.docx
重启docker的命令可以使用以下几种方式:systemctl restart docker、service docker restart、或者docker restart \[容器ID\]。\[1\]\[2\]其中,systemctl restart docker和service docker restart是重启docker服务的命令,而docker restart \[容器ID\]是重启指定容器的命令。
#### 引用[.reference_title]
- *1* [docker启动命令,docker重启命令,docker关闭命令](https://blog.csdn.net/m0_67265464/article/details/126327436)[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^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [docker启动,重启,关闭命令](https://blog.csdn.net/WuLex/article/details/120880396)[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^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文