您的位置:首页 > 文旅 > 旅游 > 聊天app开发报价单_佛山广告设计公司排名_清远市发布_东莞疫情最新数据

聊天app开发报价单_佛山广告设计公司排名_清远市发布_东莞疫情最新数据

2025/3/18 16:28:06 来源:https://blog.csdn.net/yishengzhiai005/article/details/145609919  浏览:    关键词:聊天app开发报价单_佛山广告设计公司排名_清远市发布_东莞疫情最新数据
聊天app开发报价单_佛山广告设计公司排名_清远市发布_东莞疫情最新数据

问题:

➜  lib ll /var/lib/docker
ls: /var/lib/docker: No such file or directory
➜  lib 

解决办法:

1. 安装debain的映射虚拟系统(docker run -it --privileged --pid=host debian nsenter -t 1 -m -u -n -i sh)

➜  ~ docker run -it --privileged --pid=host debian nsenter -t 1 -m -u -n -i sh
Unable to find image 'debian:latest' locally
latest: Pulling from library/debian
a492eee5e559: Pull complete 
Digest: sha256:4abf773f2a570e6873259c4e3ba16de6c6268fb571fd46ec80be7c67822823b3
Status: Downloaded newer image for debian:latest
/ # %                                                                                                  ➜  ~ 

2.在docker中可以看到虚拟系统正在运行

3. 在终端中再次查询(如果未出现,在多次执行:docker run -it --privileged --pid=host debian nsenter -t 1 -m -u -n -i sh)

➜  com.docker.docker docker run -it --privileged --pid=host debian nsenter -t 1 -m -u -n -i sh
/ # ll /var/lib
sh: ll: not found
/ # ls /var/lib
cni                 docker              lost+found          nfs
containerd          kubeadm             machine-id          swap
desktop-containerd  kubelet-plugins     mutagen             wasm
/ # 

直到能查询到docker文件夹就是ok了

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com