I am running an application which is having a license attached to IP address. Unfortunately every time I restart docker my container has different IP. There is any way, I can assign static ipv4 in the existing network?
I’ve created network via command
docker network create nginx-proxy
docker-compose.yml I have:
version: '3' services: nginx: image: nginx container_name: nginx ports: - "80:80" - "443:443" networks: default: external: name: nginx-proxy
I’ve found many configurations but for networks created within same
docker-compose config, nothing for the external network.
Thanks for any help.