当运行
docker exec -it docker_name /bin/bash
出现 rpc error: code = 2 desc = shim error: context deadline exceeded
解决办法:
方法1.(docker_name 换成 docker_id)
docker exec -it docker_id /bin/bash
方法2. 重启容器
docker restart docker_id
当运行
docker exec -it docker_name /bin/bash
出现 rpc error: code = 2 desc = shim error: context deadline exceeded
解决办法:
方法1.(docker_name 换成 docker_id)
docker exec -it docker_id /bin/bash
方法2. 重启容器
docker restart docker_id