-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
$ podlet --absolute-host-paths -u --install compose docker-compose.yml
Generating fredy file(s)…
Error:
0: could not parse volume `db` as a valid podman volume
1: `name` is not supported
Location:
src/quadlet/volume.rs:111
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
with a docker compose like this is not supported:
volumes:
db:
name: "some_db"Similarly this is not supported:
volumes:
db:
external: trueDocker docs: https://docs.docker.com/reference/compose-file/volumes/
Proposed solution
I guess adding support for the name should be easy, is not it? It's just an act of renaming/letting podman create it the correct name?
About "external" I am not sure, because maybe I also do not really understand it.
FYI podman-compose BTW seems to support both or at least shows no error.
See also #159 for background story why I actually wanted to use this key
Metadata
Metadata
Assignees
Labels
No labels