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
The command podman run --rm -v ./docker-compose.yml:/docker-compose.yml:Z ghcr.io/containers/podlet compose /docker-compose.yml fails with the following error message:
Error:
0: error converting compose file
1: error reading compose file
2: File `/docker-compose.yml` is not a valid compose file
3: networks: invalid type: map, expected a boolean at line 22 column 3
Location:
src/cli/compose.rs:203
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
If you remove external: name: proxy from the networks section, it works.
Would like it if external networks are supported, as this option is especially helpful with reverse proxies and multiple standalone docker-compose files for more clarity.
The text was updated successfully, but these errors were encountered:
From the Compose Specification, external should be set to true in your case and the name property used if you want to use an external network of a different name. However, if you do that you will get a different error as Podlet does not support using external networks.
I have the following docker-compose file:
The command
podman run --rm -v ./docker-compose.yml:/docker-compose.yml:Z ghcr.io/containers/podlet compose /docker-compose.yml
fails with the following error message:If you remove
external: name: proxy
from the networks section, it works.Would like it if external networks are supported, as this option is especially helpful with reverse proxies and multiple standalone docker-compose files for more clarity.
The text was updated successfully, but these errors were encountered: