docker create network didn't work I tried reinstall docker, mysql too but after those, still it happens
once it worked somehow after running prune
something and changing docker-compose.yml
like this
networks:
mysql8:
external: true
but now it doesn't work again and shows the error below
when I run docker-compose up
, the error messages appear like this after running docker system prune --all
[+] Running 13/13
⠿ mysql8 Pulled 27.7s
⠿ f7ec5a41d630 Pull complete 7.2s
⠿ 9444bb562699 Pull complete 7.3s
⠿ 6a4207b96940 Pull complete 7.5s
⠿ 181cefd361ce Pull complete 7.7s
⠿ 8a2090759d8a Pull complete 7.8s
⠿ 15f235e0d7ee Pull complete 8.7s
⠿ d870539cd9db Pull complete 8.7s
⠿ 5726073179b6 Pull complete 8.8s
⠿ eadfac8b2520 Pull complete 22.4s
⠿ f5936a8c3f2b Pull complete 22.5s
⠿ cca8ee89e625 Pull complete 22.5s
⠿ 6c79df02586a Pull complete 22.6s
network mysql8 declared as external, but could not be found
and shows only the last message network mysql8 declared as external, but could not be found
for docker-compose up