Closed aanderse closed 2 years ago
File "/nix/store/xyvzv4diazdgm1gsaaca4bj9jamk8h4g-docker-compose-1.27.4/lib/python3.8/site-packages/compose/service.py", line 1531, in merge_volume_bindings
old_volumes, old_mounts = get_container_data_volumes(
File "/nix/store/xyvzv4diazdgm1gsaaca4bj9jamk8h4g-docker-compose-1.27.4/lib/python3.8/site-packages/compose/service.py", line 1562, in get_container_data_volumes
container.image_config['ContainerConfig'].get('Volumes') or {}
These lines suggest that docker-compose is getting a response from your docker daemon (podman, judging from your additional details) in a schema that's missing at least the ContainerConfig
field. So this is a compatibility problem between the bundled docker-compose and your podman version.
Do you think you can try with a newer podman? Podman doesn't need a system service, so it seems quite feasible.
Do you think you can try with a newer podman?
I have tried with a newer podman
on fedora 36
and ubuntu 22.04
and everything was fine. Only issues with ubuntu 20.04
which has an older podman
provided by an apt
repo ... https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04/
I'll see if I can find a newer podman
for this version of ubuntu
. Thank you @roberth, much appreciated :bow:
It was the version as you suggested. Thanks @roberth :rocket:
Hi @roberth :wave:
I have been having some fun with
arion
onfedora 36
lately. Then I hopped on anubuntu 20.04
box and my fun was abruptly ended :disappointed: I was hoping you could help me out :sunglasses:I have a very simple setup where I acquire
arion
viaflakes
and then hop into a shell vianix flakes develop
:From there I read the documentation and copy the NixOS: run full OS example into my
~/arion
directory. Runningarion up
doesn't work. I consider that documentation may have diverged from latestmaster
, which I'm using, so I grab the example which corresponds to thegit
commit ofarion
that I'm using: https://github.com/hercules-ci/arion/blob/e73710caf92dbc9c9f8f6f4e153adbc377a84138/examples/full-nixos/arion-compose.nix. And still no luck:I'm not a
docker
nerd :nerd_face: so maybe there is something really obvious I'm missing... but basicpodman
commands like this~/arion$ podman run --network=host nginxinc/nginx-unprivileged
seem to work fine for me.Any and all help appreciated :bowing_man:.
Additional details: