Page 2 of 2

Re: Docker and Network

Posted: 20 Oct 2024, 21:56
by Phildefer
Hi,

Every containers have the same problem. Maybe I forgot to do something but it's strange.
Thx.

Re: Docker and Network

Posted: 23 Oct 2024, 16:25
by nytwordlehints
You can create a custom Docker network with the desired IP range (e.g., 192.168.1.0/24), then start a container within that network specifying a specific IP address (e.g., 192.168.1.200). This allows you to have containers with customized IP addresses in Docker.

Re: Docker and Network

Posted: 23 Oct 2024, 18:15
by Gremlin
nytwordlehints wrote: 23 Oct 2024, 16:25 You can create a custom Docker network with the desired IP range (e.g., 192.168.1.0/24), then start a container within that network specifying a specific IP address (e.g., 192.168.1.200). This allows you to have containers with customized IP addresses in Docker.
But, surely, the docker network cannot have the same segment address as the local lan?