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
I built my images successfully using nerdctl compose build command. However, at the moment of launching the containers using nerdctl compose up command, I get an error.
Steps to reproduce the issue
My docker-compose.yml is more complex than the one I put here but in order to reproduce the issue, this one is enough (it doesn't cause any problems when launching with docker-compose CLI).
INFO[0000] Creating network nerdctl-issue_default
INFO[0000] Ensuring image postgres:10.19
INFO[0000] Creating container db
INFO[0000] Attaching to logs
db |time="2022-06-07T17:29:09+02:00" level=fatal msg="failed to open \"/var/lib/nerdctl/1935db59/containers/default/6776ee1a399202e9008d1e1e2b26a10ba0deb5b02f842318c6af4d480fb11354/6776ee1a399202e9008d1e1e2b26a10ba0deb5b02f842318c6af4d480fb11354-json.log\", container is not created with `nerdctl run -d`?: stat /var/lib/nerdctl/1935db59/containers/default/6776ee1a399202e9008d1e1e2b26a10ba0deb5b02f842318c6af4d480fb11354/6776ee1a399202e9008d1e1e2b26a10ba0deb5b02f842318c6af4d480fb11354-json.log: no such file or directory"
INFO[0000] Container "db" exited
INFO[0000] All the containers have exited
INFO[0000] Stopping containers (forcibly)
INFO[0000] Stopping container db
What version of nerdctl are you using?
0.20.0
Are you using a variant of nerdctl? (e.g., Rancher Desktop)
Description
I built my images successfully using
nerdctl compose build
command. However, at the moment of launching the containers usingnerdctl compose up
command, I get an error.Steps to reproduce the issue
My
docker-compose.yml
is more complex than the one I put here but in order to reproduce the issue, this one is enough (it doesn't cause any problems when launching withdocker-compose
CLI).Run:
sudo nerdctl compose up
Describe the results you received and expected
The logs until the death of the container are:
What version of nerdctl are you using?
0.20.0
Are you using a variant of nerdctl? (e.g., Rancher Desktop)
No
Host information
The text was updated successfully, but these errors were encountered: