Open ghost opened 2 years ago
Thank you for testing laelaps! I simplified the docker and docker-compose files. Also switched to Podman which seems to make things easier. You can find the changes in this PR #8 . Would you like to test again with these new changes? Thanks!
Thanks for looking into this! I used podman-compose up
on this new branch as you suggested. However I still get errors, which I do not understand. See below for the errors. Running the python module directly works perfectly fine by the way.
ERRO[0000] error loading cached network config: network "laelaps_default" not found in CNI cache WARN[0000] falling back to loading from existing plugins on disk WARN[0000] Error validating CNI config file /home/bart/.config/cni/net.d/laelaps_default.conflist: [plugin bridge does not support config version "1.0.0" plugin portmap does not support config version "1.0.0" plugin firewall does not support config version "1.0.0" plugin tuning does not support config version "1.0.0"] ERRO[0000] Error tearing down partially created network namespace for container e64a2cb62c6cd23ca89e77e6b588dce147a2199d679b24ce25b3634e60ced7a9: CNI network "laelaps_default" not found Error: unable to start container e64a2cb62c6cd23ca89e77e6b588dce147a2199d679b24ce25b3634e60ced7a9: error configuring network namespace for container e64a2cb62c6cd23ca89e77e6b588dce147a2199d679b24ce25b3634e60ced7a9: CNI network "laelaps_default" not found exit code: 125
Using docker-compose up, I get the following error:
/bin/sh: 1: cannot create /etc/resolv.conf: Read-only file system
This can be hotfixed by removingecho "nameserver 9.9.9.9" > /etc/resolv.conf &&
from the Dockerfile, but this does not seem like a good solution. Is there a way to make the /etc folder writeable?