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
Describe the bug
suddenly the --env-file option doesnt work anymore. Placesholders in the .yaml-file stay empty or use the default option. I cant pinpoint a specfic data on which it broke.
command I run: sudo podman-compose -f hello_world/docker_compose.yaml --env-file hello_world/config/hello_world.env up -d
Expected behavior
no Error: invalid reference format
Actual behavior
Error: invalid reference format
Output
$ sudo podman-compose -f hello-world/docker-compose.yaml --env-file hello-world/config/hello_world.env up -d
podman-compose version: 1.0.6
['podman', '--version', '']
using podman version: 4.2.0
** excluding: set()
['podman', 'ps', '--filter', 'label=io.podman.compose.project=hello-world', '-a', '--format', '{{ index .Labels "io.podman.compose.config-hash"}}']
['podman', 'network', 'exists', 'hello-world_default']
podman run --name=hello-world_hallo-welt_1 -d --label io.podman.compose.config-hash=6b92d9bd54ff2a485d41fd58382b73703d56a9e01ef4e2045ac7855a758c594f --label io.podman.compose.project=hello-world --label io.podman.compose.version=1.0.6 --label [email protected] --label com.docker.compose.project=hello-world --label com.docker.compose.project.working_dir=/opt/podman/hello-world --label com.docker.compose.project.config_files=hello-world/docker-compose.yaml --label com.docker.compose.container-number=1 --label com.docker.compose.service=hallo-welt --net hello-world_default --network-alias hallo-welt hello-world:
Error: invalid reference format
exit code: 125
podman start hello-world_hallo-welt_1
Error: no container with name or ID "hello-world_hallo-welt_1" found: no such container
exit code: 125
$ sudo podman-compose version
podman-compose version: 1.0.6
['podman', '--version', '']
using podman version: 4.2.0
podman-compose version 1.0.6
podman --version
podman version 4.2.0
exit code: 0
Environment:
Red Hat Enterprise Linux 8.7 (Ootpa)
Additional context
Workaround:
copy the env-file into the directory of the .yaml file and name ist ".env", the just run sudo podman-compose -f hello-world/docker-compose.yaml up -d
Can someone reproduce this?
The text was updated successfully, but these errors were encountered:
Describe the bug
suddenly the --env-file option doesnt work anymore. Placesholders in the .yaml-file stay empty or use the default option. I cant pinpoint a specfic data on which it broke.
To Reproduce
./hello_world/docker_compose.yaml:
./hello_world/config/hello_world.env:
command I run:
sudo podman-compose -f hello_world/docker_compose.yaml --env-file hello_world/config/hello_world.env up -d
Expected behavior
no Error: invalid reference format
Actual behavior
Error: invalid reference format
Output
Environment:
Additional context
Workaround:
copy the env-file into the directory of the .yaml file and name ist ".env", the just run
sudo podman-compose -f hello-world/docker-compose.yaml up -d
Can someone reproduce this?
The text was updated successfully, but these errors were encountered: