thanks, so i stop all containers
docker-mailman]# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES [SERVER1 docker-mailman]#
I added this to my docker.yaml
networks: mailman: driver: bridge ipam: driver: default config: - subnet: 172.19.199.0/24 gateway: 172.19.199.1
I specified ips on my containers in docker.yaml i.e
. . . mailman: ipv4_address: 172.19.199.3
When I try to start I get the below i get the below error?
docker-compose up -d Removing dockermailman_database_1 Recreating 2eaf91c7d09d_2eaf91c7d09d_2eaf91c7d09d_2eaf91c7d09d_2eaf91c7d09d_2eaf91c7d09d_2eaf91c7d09d_dockermailman_dRecreating 2eaf91c7d09d_2eaf91c7d09d_2eaf91c7d09d_2eaf91c7d09d_2eaf91c7d09d_2eaf91c7d09d_2eaf91c7d09d_dockermailman_database_1 ... error
ERROR: for 2eaf91c7d09d_2eaf91c7d09d_2eaf91c7d09d_2eaf91c7d09d_2eaf91c7d09d_2eaf91c7d09d_2eaf91c7d09d_dockermailman_database_1 b'user specified IP address is supported only when connecting to networks with user configured subnets'
ERROR: for database b'user specified IP address is supported only when connecting to networks with user configured subnets' ERROR: Encountered errors while bringing up the project.
Here is my docker version could that be the issue???
Client: Docker Engine - Community Version: 20.10.7 API version: 1.41 Go version: go1.13.15 Git commit: f0df350 Built: Wed Jun 2 11:58:10 2021 OS/Arch: linux/amd64 Context: default Experimental: true
Server: Docker Engine - Community Engine: Version: 20.10.7 API version: 1.41 (minimum version 1.12) Go version: go1.13.15 Git commit: b0f5bc3 Built: Wed Jun 2 11:56:35 2021 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.4.6 GitCommit: d71fcd7d8303cbf684402823e425e9dd2e99285d runc: Version: 1.0.0-rc95 GitCommit: b9ee9c6314599f1b4a7f497e1f1f856fe433d3b7 docker-init: Version: 0.19.0 GitCommit: de40ad0 docker-mailman]#