Page 1 of 5

Docker custom network issue

Posted: 18 Oct 2022, 23:00
by XFNeo
1) Create custom network:

Code: Select all

docker network create custom_bridge
or through Docker Manager
2) Check ip address on the new bridge

Code: Select all

ip a | grep br-
it should be like

Code: Select all

inet 172.18.0.1/16 brd 172.18.255.255 scope global br-2becce7b1bb4
3) Check route

Code: Select all

route -n | grep br-
it should be like

Code: Select all

172.18.0.0     0.0.0.0         255.255.0.0     U     0      0        0 br-2becce7b1bb4
4) Run a new container in the new network

Code: Select all

docker run --rm --entrypoint sh --network web nginx:alpine
5) Repeate №2 and №3
AR != ER
AR:

Code: Select all

inet 172.18.0.1/16 brd 172.18.255.255 scope global br-2becce7b1bb4

Code: Select all

172.18.0.0     0.0.0.0         255.255.0.0     U     0      0        0 br-2becce7b1bb4
ER:

Code: Select all

inet 169.254.251.50/16 brd 169.254.255.255 scope global br-2becce7b1bb4

Code: Select all

169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 br-2becce7b1bb4
Container has no access to the network.

Re: Docker custom network issue

Posted: 21 Oct 2022, 04:40
by XFNeo
TerraMaster Support?

Re: Docker custom network issue

Posted: 21 Oct 2022, 18:23
by TMSupport
This issue is being verified.

Re: Docker custom network issue

Posted: 23 Oct 2022, 18:32
by mukmuk
I had the same problems with wrong routes etc. Take a look here:

https://blog.mukmuk.eu/2021/docker-reve ... on-f2-221/

Re: Docker custom network issue

Posted: 23 Oct 2022, 19:00
by XFNeo
{L_BUTTON_AT}mukmuk

I saw it. For me it help only for one run, on the second it resets again.

Re: Docker custom network issue

Posted: 26 Oct 2022, 06:53
by XFNeo
TMSupport wrote: 21 Oct 2022, 18:23 This issue is being verified.
Hi! Any updates? It is critical bug for me.

Re: Docker custom network issue

Posted: 31 Oct 2022, 18:21
by TMSupport
This issue has been added to the fix list.

Re: Docker custom network issue

Posted: 16 Dec 2022, 17:02
by XFNeo
TMSupport wrote: 31 Oct 2022, 18:21 This issue has been added to the fix list.
Hi! When it will be fixed?

Re: Docker custom network issue

Posted: 16 Dec 2022, 18:18
by TMSupport
Will be fixed in next version.

Re: Docker custom network issue

Posted: 16 Dec 2022, 18:58
by XFNeo
TMSupport wrote: 16 Dec 2022, 18:18 Will be fixed in next version.
When will be the next version?