level 1
服务器重启,镜像和容器都不见了,docker images和docker ps -a都是空的,有大佬知道什么问题吗?
2022年04月02日 00点04分
1
level 1
如果Docker 服务没有起来输入这些命令是无效的 显然不是Docker没有起来 这个难题得大佬来回答
2022年06月15日 07点06分
4
level 5
服务器重启后,
systemctl status docker
查看当前 docker 服务的状态,是否 running
===========
如果 running,常识 docker run hello-world 检查容器功能是否正常。
===========
如果 docker run hello-world 正常,你可以考虑下你原来运行的容器是在 root 下启动的还是在非 root 账户下启动的。
root 下运行 docker images 列出来的和 非 root 下运行 docker images 列出来的数据是不一样的,因为存储的位置不同。
2024年04月08日 04点04分
10