docker: Error response from daemon: No such container: nginx_data.
时间: 2024-04-25 10:22:05 浏览: 318
docker里面nginx目录挂载启动失败
根据引用\[1\]和引用\[2\]的信息,你在使用docker安装nginx时遇到了一个错误,错误信息是"docker: Error response from daemon: No such container: nginx_data." 这个错误通常是由于容器不存在引起的。可能是你尝试删除了nginx容器或者容器名称不正确。你可以通过运行"docker ps -a"命令来查看所有的容器,确保nginx容器存在。如果不存在,你可以重新创建一个nginx容器。如果存在,你可以尝试使用正确的容器名称来执行相关操作。
#### 引用[.reference_title]
- *1* *3* [解决Error response from daemon: oci runtime error: container_linux.go:235: starting container ...](https://blog.csdn.net/weixin_44868863/article/details/91409710)[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^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [《Docker系列》Error response from daemon: driver failed... Error: failed to start containers...](https://blog.csdn.net/m0_51197424/article/details/127397626)[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^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文