gpt4 book ai didi

docker - 拉取,虚拟化和bash到docker镜像中

转载 作者:行者123 更新时间:2023-12-02 19:40:32 24 4
gpt4 key购买 nike

我想在里面戳a docker image。我如何拉动它并访问它上的 shell ?我尝试了sudo docker exec -it verdverm/pypge-experiments bash,但它只是给了我Error response from daemon: No such container: verdverm/pypge-experiments。我究竟做错了什么?

最佳答案

将exec替换为run:

sudo docker run -it verdverm/pypge-experiments bash

关于docker - 拉取,虚拟化和bash到docker镜像中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37736396/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com