docker network

DescriptionManage networks
Usagedocker network

Description

Manage networks. You can use subcommands to create, inspect, list, remove, prune, connect, and disconnect networks.

Subcommands

CommandDescription
docker network connectConnect a container to a network
docker network createCreate a network
docker network disconnectDisconnect a container from a network
docker network inspectDisplay detailed information on one or more networks
docker network lsList networks
docker network pruneRemove all unused networks
docker network rmRemove one or more networks