diff --git a/doc/notes.md b/doc/notes.md index 958205a..8ae0c22 100644 --- a/doc/notes.md +++ b/doc/notes.md @@ -16,3 +16,12 @@ mount -o remount,rw $(blkid -L COS_STATE) /run/initramfs/cos-state vim /run/initramfs/cos-state/grub2/grub.cfg ``` +# podman +Proplem: +``` +ERRO[0000] Error adding network: failed to allocate for range 0: 10.88.0.46 has been allocated to ce5ed278f7e2af02a39c6281cf87b23aabf93f7ac45426c6f57d32188558846d, duplicate allocation is not allowed +ERRO[0000] Error while adding pod to CNI network "podman": failed to allocate for range 0: 10.88.0.46 has been allocated to ce5ed278f7e2af02a39c6281cf87b23aabf93f7ac45426c6f57d32188558846d, duplicate allocation is not allowed +Error: unable to start container "ce5ed278f7e2af02a39c6281cf87b23aabf93f7ac45426c6f57d32188558846d": error configuring network namespace for container ce5ed278f7e2af02a39c6281cf87b23aabf93f7ac45426c6f57d32188558846d: failed to allocate for range 0: 10.88.0.46 has been allocated to ce5ed278f7e2af02a39c6281cf87b23aabf93f7ac45426c6f57d32188558846d, duplicate allocation is not allowed +``` +remove the offending file in `/var/lib/cni/networks/podman` and restart container +