docker create network
// docker network create -d <TYPE> <Name>
docker network create -d bridge my-bridge-network
docker create network
// docker network create -d <TYPE> <Name>
docker network create -d bridge my-bridge-network
how to create a host driver in docker
$ docker network create -d bridge my-bridge-network
docker create
docker create [options] IMAGE
-a, --attach # attach stdout/err
-i, --interactive # attach stdin (interactive)
-t, --tty # pseudo-tty
--name NAME # name your image
-p, --publish 5000:5000 # port map
--expose 5432 # expose a port to linked containers
-P, --publish-all # publish all ports
--link container:alias # linking
-v, --volume `pwd`:/app # mount (absolute paths needed)
-e, --env NAME=hello # env vars
create docker swarm
docker swarm init
docker network create
$ docker run -itd --network=mynet busybox
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us