But when the remove the –network=host flag, I get the following error -
Error response from daemon: bind-mount /proc/0/ns/net → /var/run/docker/netns/b8fbcca5bab2: no such file or directory
I want to try without using host network as I am have to create multiple containers on same host and checkpoint them and still want the isolation which would be stripped of if I use host network. Can somebody help me with this issue?
I have tried bunch of fixes like creating a subnet and attach to it but still I get the same error
It is not clear to me when you get the error message. When you want to restore a container from checkpoint or when you want to create a container without host network. I tried to reproduce the issue, it it worked for me. host network couldn’t be a requirement as it is usually not even recommended to use host network.
If you share more code or command, or logs, please,.use the standard markdown syntax for code blocks, not quotes and you will not have problems with the backslashes either
Hi, I am getting the error when I try to restore the container. I used the below commands
```
gyerra@node0:~$ sudo docker run -d --name looper \
--cap-add=CHECKPOINT_RESTORE \
--cap-add=SYS_ADMIN \
--security-opt seccomp=unconfined \
--security-opt apparmor=unconfined \
--userns=host \
busybox sh -c 'while true; do date; sleep 1; done'
Unable to find image 'busybox:latest' locally
latest: Pulling from library/busybox
90b9666d4aed: Pull complete
Digest: sha256:f9a104fddb33220ec80fc45a4e606c74aadf1ef7a3832eb0b05be9e90cd61f5f
Status: Downloaded newer image for busybox:latest
b74db825d7c41616202c778bddbaca0d9594877d9b9b54cd2d4840b36557b778
gyerra@node0:~$ sudo docker logs -f looper
Thu Aug 14 16:00:14 UTC 2025
Thu Aug 14 16:00:15 UTC 2025
Thu Aug 14 16:00:16 UTC 2025
Thu Aug 14 16:00:17 UTC 2025
Thu Aug 14 16:00:18 UTC 2025
Thu Aug 14 16:00:19 UTC 2025
Thu Aug 14 16:00:20 UTC 2025
Thu Aug 14 16:00:21 UTC 2025
Thu Aug 14 16:00:22 UTC 2025
Thu Aug 14 16:00:23 UTC 2025
Thu Aug 14 16:00:24 UTC 2025
Thu Aug 14 16:00:25 UTC 2025
Thu Aug 14 16:00:26 UTC 2025
Thu Aug 14 16:00:27 UTC 2025
Thu Aug 14 16:00:28 UTC 2025
Thu Aug 14 16:00:29 UTC 2025
Thu Aug 14 16:00:30 UTC 2025
^Cgyerra@node0:~sudo docker checkpoint create looper checkpoint_fixed
checkpoint_fixed
gyerra@node0:~$ sudo docker start --checkpoint checkpoint_fixed looper
Error response from daemon: bind-mount /proc/0/ns/net -> /var/run/docker/netns/dcb45570a73f: no such file or directory
gyerra@node0:~$
I do not get this error during restore when I use –network=host
```
gyerra@node0:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04.3 LTS
Release: 24.04
Codename: noble
You would definitely win the most detailed reply to asked information competition. Thanks for that. I could reproduce it with your command and I realized I didn’t finish testing it previously so I was wrong when I said I tested it. I just wanted to test it and I was distructed by another issue and forgot to run the docker start command.
It looks like a bug where Docker tries to use a network namespace which is not created yet. You could report these kind of bugs in the Moby repository.
Hahaha, I have been struggling with it for days, so I wanted to get help to resolve it asap. Is there a workaround for this? This should be a basic issue in checkpointing Docker containers right?
The checkpoint feature is still experimental so I wouldn’t use it for anything in production. It seems that the “workaround” is the host network as you pointed out, which is not really a workaround, so you will need to wait until it is fixed. Which will be fixed if someone reports it When it will be fixed, I can’t tell, especially as an exprimental feature.