pegasus@pegasus:~$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
ubuntu 22.04 8a3cdc4d1ad3 9 days ago 77.9MB
hello-world latest d2c94e258dcb 14 months ago 13.3kB
pegasus@pegasus:~$ docker run ubuntu:22.04
pegasus@pegasus:~$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
pegasus@pegasus:~$ systemctl status docker
docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; preset: enabled)
Active: active (running) since Sun 2024-07-07 10:40:21 +06; 7min ago
TriggeredBy: docker.socket
Docs: https://docs.docker.com
Main PID: 3589 (dockerd)
Tasks: 16
Memory: 112.9M (peak: 115.2M)
CPU: 695ms
CGroup: /system.slice/docker.service
3589 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
জুলাই 07 10:40:20 pegasus systemd[1]: Starting docker.service - Docker Application Container Engine...
জুলাই 07 10:40:20 pegasus dockerd[3589]: time="2024-07-07T10:40:20.790924612+06:00" level=info msg="Starting up"
জুলাই 07 10:40:20 pegasus dockerd[3589]: time="2024-07-07T10:40:20.873556063+06:00" level=info msg="[graphdriver] using prior storage driver: overlay2"
জুলাই 07 10:40:20 pegasus dockerd[3589]: time="2024-07-07T10:40:20.875291689+06:00" level=info msg="Loading containers: start."
জুলাই 07 10:40:21 pegasus dockerd[3589]: time="2024-07-07T10:40:21.049643248+06:00" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip>
জুলাই 07 10:40:21 pegasus dockerd[3589]: time="2024-07-07T10:40:21.139310021+06:00" level=info msg="Loading containers: done."
জুলাই 07 10:40:21 pegasus dockerd[3589]: time="2024-07-07T10:40:21.159863331+06:00" level=info msg="Docker daemon" commit=c8af8eb containerd-snapshotter=false storage-driver=overlay2 version>
জুলাই 07 10:40:21 pegasus dockerd[3589]: time="2024-07-07T10:40:21.160313458+06:00" level=info msg="Daemon has completed initialization"
জুলাই 07 10:40:21 pegasus dockerd[3589]: time="2024-07-07T10:40:21.216982812+06:00" level=info msg="API listen on /run/docker.sock"
জুলাই 07 10:40:21 pegasus systemd[1]: Started docker.service - Docker Application Container Engine.
我该如何修复它?
Docker run 不起作用,即使它可以拉取镜像并且 docker 正在运行
下载声明:
本站所有软件和资料均为软件作者提供或网友推荐发布而来,仅供学习和研究使用,不得用于任何商业用途。如本站不慎侵犯你的版权请联系我,我将及时处理,并撤下相关内容!