Hi,
I try to finalize my setup with docker on my linux machine but I am facing error at the end.
here some infos, maybe you could help me, btw, I’ve read a lot on that error, but nothing is working for the moment, thanks
docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; preset: disabled)
Drop-In: /usr/lib/systemd/system/service.d
└─10-timeout-abort.conf
Active: active (running) since Thu 2024-03-07 16:36:02 EST; 4min 52s ago
TriggeredBy: ● docker.socket
Docs: https://docs.docker.com
Main PID: 2535176 (dockerd)
Tasks: 21
Memory: 28.7M (peak: 32.7M)
CPU: 430ms
CGroup: /system.slice/docker.service
└─2535176 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
Mar 07 16:36:01 fedora dockerd[2535176]: time="2024-03-07T16:36:01.473603840-05:00" level=info msg="Firewalld: docker zone already exists, returning"
Mar 07 16:36:01 fedora dockerd[2535176]: time="2024-03-07T16:36:01.765142141-05:00" level=info msg="Firewalld: interface docker0 already part of docker zone, returning"
Mar 07 16:36:01 fedora dockerd[2535176]: time="2024-03-07T16:36:01.786923995-05:00" level=info msg="Firewalld: interface docker0 already part of docker zone, returning"
Mar 07 16:36:02 fedora dockerd[2535176]: time="2024-03-07T16:36:02.112290558-05:00" level=info msg="Default bridge (docker0) is assigned with an IP address xxx.xx.0.0/16. Daemon option --bip can be used to set a preferred IP address"
Mar 07 16:36:02 fedora dockerd[2535176]: time="2024-03-07T16:36:02.212583777-05:00" level=info msg="Firewalld: interface docker0 already part of docker zone, returning"
Mar 07 16:36:02 fedora dockerd[2535176]: time="2024-03-07T16:36:02.309126650-05:00" level=info msg="Loading containers: done."
Mar 07 16:36:02 fedora dockerd[2535176]: time="2024-03-07T16:36:02.358901266-05:00" level=info msg="Docker daemon" commit=061aa95 containerd-snapshotter=false storage-driver=overlay2 version=25.0.4
Mar 07 16:36:02 fedora dockerd[2535176]: time="2024-03-07T16:36:02.359070875-05:00" level=info msg="Daemon has completed initialization"
Mar 07 16:36:02 fedora dockerd[2535176]: time="2024-03-07T16:36:02.425594393-05:00" level=info msg="API listen on /run/docker.sock"
Mar 07 16:36:02 fedora systemd[1]: Started docker.service - Docker Application Container Engine.
james@fedora:/etc$ docker run hello-world
Hello from Docker!
This message shows that your installation appears to be working correctly.
To generate this message, Docker took the following steps:
1. The Docker client contacted the Docker daemon.
2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
(amd64)
3. The Docker daemon created a new container from that image which runs the
executable that produces the output you are currently reading.
4. The Docker daemon streamed that output to the Docker client, which sent it
to your terminal.
To try something more ambitious, you can run an Ubuntu container with:
$ docker run -it ubuntu bash
Share images, automate workflows, and more with a free Docker ID:
https://hub.docker.com/
For more examples and ideas, visit:
https://docs.docker.com/get-started/
$ docker pull XXXX/privateimage
Using default tag: latest
Error response from daemon: Get "https://XXXX/v2/": dialing XXX:443 with direct connection: resolving host XXXX: lookup XXX on 127.0.0.53:53: server misbehaving
● firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; preset: enabled)
Drop-In: /usr/lib/systemd/system/service.d
└─10-timeout-abort.conf
Active: active (running) since Thu 2024-03-07 09:31:40 EST; 7h ago
Docs: man:firewalld(1)
Main PID: 1191 (firewalld)
Tasks: 4 (limit: 76958)
Memory: 53.0M (peak: 54.8M)
CPU: 2.469s
CGroup: /system.slice/firewalld.service
└─1191 /usr/bin/python3 -sP /usr/sbin/firewalld --nofork --nopid
Mar 07 16:34:44 fedora firewalld[1191]: WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -t filter -X DOCKER-ISOLATION-STAGE-1' failed: iptables v1.8.10 (nf_tables): CHAIN_DEL failed (Device or resource busy): chain DOCKER-ISOLATION-ST>
Mar 07 16:34:44 fedora firewalld[1191]: WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -t filter -F DOCKER-ISOLATION' failed: iptables: No chain/target/match by that name.
Mar 07 16:34:44 fedora firewalld[1191]: WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -t filter -X DOCKER-ISOLATION' failed: iptables: No chain/target/match by that name.
Mar 07 16:36:01 fedora firewalld[1191]: WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -t nat -D OUTPUT -m addrtype --dst-type LOCAL -j DOCKER' failed: iptables: Bad rule (does a matching rule exist in that chain?).
Mar 07 16:36:01 fedora firewalld[1191]: WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -t nat -D PREROUTING' failed: iptables: Bad rule (does a matching rule exist in that chain?).
Mar 07 16:36:01 fedora firewalld[1191]: WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -t nat -D OUTPUT' failed: iptables: Bad rule (does a matching rule exist in that chain?).
Mar 07 16:36:01 fedora firewalld[1191]: WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -t filter -X DOCKER' failed: iptables v1.8.10 (nf_tables): CHAIN_DEL failed (Device or resource busy): chain DOCKER
Mar 07 16:36:01 fedora firewalld[1191]: WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -t filter -X DOCKER-ISOLATION-STAGE-1' failed: iptables v1.8.10 (nf_tables): CHAIN_DEL failed (Device or resource busy): chain DOCKER-ISOLATION-ST>
Mar 07 16:36:01 fedora firewalld[1191]: WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -t filter -F DOCKER-ISOLATION' failed: iptables: No chain/target/match by that name.
Mar 07 16:36:01 fedora firewalld[1191]: WARNING: COMMAND_FAILED: '/usr/sbin/iptables -w10 -t filter -X DOCKER-ISOLATION' failed: iptables: No chain/target/match by that name.
~