You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 9, 2024. It is now read-only.
ERROR: for global_dns_1 Cannot start service dns: Invalid address 10.0.0.2: It does not belong to any of this network's subnets
Creating global_gateway_1 ... error
ERROR: for global_gateway_1 Cannot start service gateway: Invalid address 10.0.0.3: It does not belong to any of this network's subnets
Creating global_mailcatcher_1 ... done
Creating global_mysql_1 ... done
Creating global_phpmyadmin_1 ...
Creating global_phpmyadmin_1 ... done
ERROR: for dns Cannot start service dns: Invalid address 10.0.0.2: It does not belong to any of this network's subnets
ERROR: for gateway Cannot start service gateway: Invalid address 10.0.0.3: It does not belong to any of this network's subnets
Encountered errors while bringing up the project.
docker-compose.yml is this
version: "2.4"
services:
Run a local dnsmasq server for the containers that will resolve DNS queries and
Troubleshooting
Describe your question
Hallo dear Team,
i re-installed my hole Ubuntu PC and have now created a test projekt.
If i want to start that projekt with
10updocker start testneu
... i get following to error messages:
⠏ Ensuring global services are running...
Error : Creating global_gateway_1 ...
Creating global_mailcatcher_1 ...
Creating global_mysql_1 ...
Creating global_dns_1 ...
Creating global_dns_1 ... error
ERROR: for global_dns_1 Cannot start service dns: Invalid address 10.0.0.2: It does not belong to any of this network's subnets
Creating global_gateway_1 ... error
ERROR: for global_gateway_1 Cannot start service gateway: Invalid address 10.0.0.3: It does not belong to any of this network's subnets
Creating global_mailcatcher_1 ... done
Creating global_mysql_1 ... done
Creating global_phpmyadmin_1 ...
Creating global_phpmyadmin_1 ... done
ERROR: for dns Cannot start service dns: Invalid address 10.0.0.2: It does not belong to any of this network's subnets
ERROR: for gateway Cannot start service gateway: Invalid address 10.0.0.3: It does not belong to any of this network's subnets
Encountered errors while bringing up the project.
docker-compose.yml is this
version: "2.4"
services:
Run a local dnsmasq server for the containers that will resolve DNS queries and
route any *.test domains to the gateway container
dns:
image: andyshinn/dnsmasq
cap_add:
- NET_ADMIN
command: -A /test/10.0.0.3 --log-facility=-
networks:
wplocaldocker:
ipv4_address: 10.0.0.2
gateway:
image: jwilder/nginx-proxy:alpine
ports:
- 127.0.0.1:80:80
- 127.0.0.1:443:443
volumes:
- ./ssl-certs:/etc/nginx/certs:ro
- ./config/nginx/503.html:/usr/share/nginx/html/503.html:ro
- ./config/nginx/nginx.tmpl:/app/nginx.tmpl:ro
- /var/run/docker.sock:/tmp/docker.sock:ro
networks:
wplocaldocker:
ipv4_address: 10.0.0.3
mysql:
image: mariadb:10.3
volumes:
- ./config/mysql/config.cnf:/etc/mysql/mysql.conf.d/wp-local-docker.cnf:ro
- mysqlData:/var/lib/mysql
ports:
- 127.0.0.1:3366
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_USER: wordpress
MYSQL_PASSWORD: password
mem_limit: 1024M
mem_reservation: 1024M
networks:
- wplocaldocker
mailcatcher:
image: schickling/mailcatcher
ports:
- 127.0.0.1:1025:1025
- 127.0.0.1:1080:1080
environment:
MAILCATCHER_PORT: 1025
networks:
- wplocaldocker
phpmyadmin:
image: phpmyadmin
ports:
- 127.0.0.1:8092:80
depends_on:
- mysql
environment:
PMA_HOST: mysql
networks:
- wplocaldocker
networks:
wplocaldocker:
external:
name: wplocaldocker
volumes:
mysqlData:
elasticsearchData:
Many thanks and a good week for you
Code of Conduct
The text was updated successfully, but these errors were encountered: