Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make-dind is a new image for rootless dind-enabled Prow jobs #655

Closed
wants to merge 2 commits into from

Commits on Apr 1, 2022

  1. make-dind is a new image for rootless dind-enabled Prow jobs

    Signed-off-by: Maël Valais <[email protected]>
    maelvls committed Apr 1, 2022
    Configuration menu
    Copy the full SHA
    0d461a6 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2023

  1. work around nerdctl's default network issue

    In this PR, I added a CNI configuration so that containerd stops
    complaining about not being able to load the CNI plugin. The message
    was:
    
      failed to load cni during init, please check CRI plugin status before
      setting up network for pods  error="cni config load failed: no network
      config found in /etc/cni/net.d: cni plugin not initialized: failed to load cni config"
    
    The cni.json file is picked up by nerdctl as a network:
    
      root@8deca99e60b5:/# nerdctl network ls
      NETWORK ID    NAME      FILE
                    bridge    /etc/cni/net.d/nerdctl-bridge.conflist
                    host
                    none
    
    It is important to use the name "bridge" in the CNI configuration, ie.,
    you should see:
    
      {
        "cniVersion": "1.0.0",
        "name": "bridge",
        ...
      }
    
    Otherwise, nerdctl will try to create another bridge network, and you
    will get the following error message:
    
      FATA[0002] failed to create default network: subnet 10.4.0.0/24 overlaps with other
      one on this address space
    
    The following warning can be ignored:
    
      WARN[0002] default network named "bridge" does not have an internal nerdctl ID or
      nerdctl-managed config file, it was most likely NOT created by nerdctl
    
    Signed-off-by: Maël Valais <[email protected]>
    maelvls committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    2ccdd85 View commit details
    Browse the repository at this point in the history