Skip Navigation

Q: Docker container joining existing network with fixed ip (via docker compose)

Hi, I figured out how to get docker containers to join an existing network with putting "networks" into the respective sections of the docker-compose.yml

If I want to also give them fixed ip's on this network, what would the syntax look like in the docker-compose.yml?

12

You're viewing a single thread.

12 comments
12 comments