Difference between revisions of "Docker network create"
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
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
See also
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: