You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I try to start a container with a network specified by its nerdctl ID instead of its name, the container will fail to start with the message "no such network", even though the network exists.
Steps to reproduce the issue
sudo nerdctl network create test-network
sudo nerdctl run --network <network-id> <some-image>
Describe the results you received and expected
Results:
FATA[0011] failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: time="2023-08-15T17:09:23Z" level=fatal msg="no such network: \"1841d116ee60eebf90828f0853d4c5f2aef580387077e2677290c4d8dceb4195\""
Failed to write to log, write /var/lib/nerdctl/1935db59/containers/finch/54a9533f8f83c7be6e133eecd89613a4f1be1ae40aeb5c1b4b0e0316933add18/oci-hook.createRuntime.log: file already closed: unknown
Description
If I try to start a container with a network specified by its nerdctl ID instead of its name, the container will fail to start with the message "no such network", even though the network exists.
Steps to reproduce the issue
sudo nerdctl network create test-network
sudo nerdctl run --network <network-id> <some-image>
Describe the results you received and expected
Results:
Expected: container should start successfully
What version of nerdctl are you using?
Are you using a variant of nerdctl? (e.g., Rancher Desktop)
Lima
Host information
Running
nerdctl
on my Mac in a Lima VM (using Finch)The text was updated successfully, but these errors were encountered: