unable to replace "host-gateway" of host entry "host.docker.internal:host-gateway" #22881
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Issue Description
In my compose file I have
Two days ago, I was able to start the container in the compose file with
Now it doesn't work anymore.
Steps to reproduce the issue
add the extra_hosts entries in the compose file
run
podman compose up -d
Describe the results you received
Error: failed to create new hosts file: unable to replace "host-gateway" of host entry "host.docker.internal:host-gateway": host containers internal IP address is empty
Describe the results you expected
Container should be able to start, and in /etc/hosts I should see the extra host.
podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
Additional environment details
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
The text was updated successfully, but these errors were encountered: