Difference between revisions of "Docker network create"

From wikieduonline
Jump to navigation Jump to search
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Draft}}
 
 
{{lc}}
 
{{lc}}
 
  [[docker network]] create
 
  [[docker 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: