A docker-compose.yml file may define one or more aliases for a container, such that other containers in the same compose can use those aliases rather than the container name to resolve its ip address. E.g. from the documentation:
services:
some-service:
networks:
some-network:
aliases:
- alias1
- alias3
other-network:
aliases:
- alias2
Support this in podman-compose would permit a wider range of docker-compose setups to be used without modification.
This would require podman-container-tools/podman#4530 to be implemented first.
A
docker-compose.ymlfile may define one or more aliases for a container, such that other containers in the same compose can use those aliases rather than the container name to resolve its ip address. E.g. from the documentation:Support this in
podman-composewould permit a wider range ofdocker-composesetups to be used without modification.This would require podman-container-tools/podman#4530 to be implemented first.