Difference between revisions of "Docker network create"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by 2 users not shown)
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]] 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
  
  
 
== Related terms ==
 
== Related terms ==
 
* <code>[[docker-compose.yml]]</code>
 
* <code>[[docker-compose.yml]]</code>
 
+
* <code>[[docker network create nats]]</code>
 +
[[driver: bridge]]
  
 
== See also ==
 
== See also ==

Latest revision as of 16:05, 22 February 2023

Advertising: