What’s going on, YouTube!
So, a viewer posted this question:
“I am running Docker on Windows 10. I am getting the error below when I run "docker network create --driver bridge --subnet 172.18.0.0/16 --gateway 172.18.0.1 mynetwork"
Error response from daemon: could not find plugin bridge in v1 plugin registry: plugin not found”
I am assuming that they configure Docker to use Windows containers, and if that is the case, the docker command they run will return an error because the driver ‘bridge’ does not exist for Windows container. However, that does not mean that if they switch to Linux containers it will make anything better.
To sum it up, the way that Windows treats Docker network is not the same as how Linux treats Docker network. Because I personally do not use Docker on Windows, I decided to check StackOverflow and ran across this post.
So, if you are using Docker for Windows and you want to create a Docker network and your Docker is set up to use Windows container, then use “nat” as the driver. Though, I haven’t tried this solution. But going by the number of upvotes, I will take it that it works.
Sources:
Networking features in Docker Desktop for Windows https://docs.docker.com/docker-for-wi...
StackOverflow https://stackoverflow.com/questions/4...
Watch video User Question #1: Driver Not Found When Creating A Docker Network online without registration, duration hours minute second in high quality. This video was added by user WebDev Dave 13 December 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 693 once and liked it 3 people.