Difference between revisions of "Docker network create"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
 
* https://docs.docker.com/engine/reference/commandline/network_create/
 
* https://docs.docker.com/engine/reference/commandline/network_create/
  
  docker network create --driver bridge  
+
  docker network create --driver bridge your_net
 +
 
 +
 
 +
Official example:
 +
docker network create \
 +
  --driver=bridge \
 +
  --subnet=172.28.0.0/16 \
 +
  --ip-range=172.28.5.0/24 \
 +
  --gateway=172.28.5.254 \
 +
  br0
  
  

Revision as of 10:49, 10 October 2022

Advertising: