A docker bridge network is supposed to be subnet private to the docker host. Just use a subnet that does not collide with your lan subnet range, or any subnet that is reached via routing.
Thx for you’re reply but than i cannot access the containers from my other devices ?
Maybe i misunderstood something on docker?!
If i make an ubuntu container and want access it from outside of the host what i gonna do?
Sure i can make something with reverse proxy. But is this than the only possibility?
Excellent first question. Since every getting started guide should have provided the answer to that question, I assume you didn’t follow any getting started guides or tutorials.
I just google for “docker getting started” and the first link took me you to the getting started guide. If you followed that guide, you would find the answer on the second page of the guide: Containerize an application | Docker Docs
Trying to use docker without building up the knowledge first might be very frustrating and time-consuming without getting nowhere. If you are really interested in learning the docker concepts and how things are done in docker, I can highly recommend this free self-paced training: Introduction to Containers
I am sure most of the tutorials do not even cover a reverse proxy, as it’s not needed, unless of course you specifically want to use a reverse proxy.
The tutorial you shared discusses published ports, which is indeed the intended approach to make container ports accessible on the docker host.
See: https://docs.docker.com/network/#published-ports