Difference between revisions of "Docker network create"
Jump to navigation
Jump to search
(Created page with "{{Draft}} == Related terms == * <code>docker-compose.yml</code> == See also == * {{docker network}} * {{docker}} Category:Docker") |
|||
(9 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{lc}} |
+ | [[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
docker 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[edit]
driver: bridge
See also[edit]
docker network [ ls | inspect
|create
|prune
], --network- Docker:
docker-compose
, Docker Desktop, Docker Scout, Docker Swarm, Docker Volumes, Docker images management, docker network,docker inspect
,docker volume inspect
,Dockerfile
, Docker Engine release notes,docker kill
,moby
, Docker-in-Docker,docker context
,buildx
,docker tag
,docker system prune
, Docker Hub,hub-tool, /etc/docker/daemon.json
,hostconfig.json
, dockerd, logs, Docker logging, Backup,docker service
,depends on
,--dns, --filter
,--mount
,docker login
,docker build
,apt remove docker.io
,.dockerignore
, docker context ls |docker-machine, .docker/
, PWD,$HOME/.docker/config.json
, Docker ID,--env-file, docker --help
Advertising: