L
L
link772018-07-24 16:01:26
Docker
link77, 2018-07-24 16:01:26

Where is the default subnet for newly created containers in docker?

Good afternoon.
I have a docker campose file that contains various services. There are many such files.
Please tell me how you can change the subnet that will be distributed under the newly created containers? It is not an option to prescribe ip in the campose file.
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
link77, 2018-07-25
@link77

Figured it out.. For those who are interested, here is
network create --driver bridge --subnet 192.168.100.0/24 --ip-range 192.168.100.0/24 my-bridge-network

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question