Services IPv4 address config ignored when using docker-compose networks #10585
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.
/kind bug
Description
When specifying a docker-compose services network address, the address is ignored.
Steps to reproduce the issue:
Create a compose file with a simple /24 network and a service with a static
ipv4_address
setting in that network.The following will keep the alpine container running for 5 sec. Start this multiple times, even with
docker-compose down
beforedocker-compose up -d
again.Describe the results you received:
The container created for the service receives the next free address that was never assigned before in that network, although the network is freshly created. The specified address for this service is ignored.
Describe the results you expected:
The container receives the specified address in the network.
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):The text was updated successfully, but these errors were encountered: