mirror of https://github.com/docker/cli.git
43 lines
1023 B
Markdown
43 lines
1023 B
Markdown
---
|
|
title: "network"
|
|
description: "The network command description and usage"
|
|
keywords: "network"
|
|
---
|
|
|
|
# network
|
|
|
|
```markdown
|
|
Usage: docker network COMMAND
|
|
|
|
Manage networks
|
|
|
|
Options:
|
|
--help Print usage
|
|
|
|
Commands:
|
|
connect Connect a container to a network
|
|
create Create a network
|
|
disconnect Disconnect a container from a network
|
|
inspect Display detailed information on one or more networks
|
|
ls List networks
|
|
prune Remove all unused networks
|
|
rm Remove one or more networks
|
|
|
|
Run 'docker network COMMAND --help' for more information on a command.
|
|
```
|
|
|
|
## Description
|
|
|
|
Manage networks. You can use subcommands to create, inspect, list, remove,
|
|
prune, connect, and disconnect networks.
|
|
|
|
## Related commands
|
|
|
|
* [network create](network_create.md)
|
|
* [network inspect](network_inspect.md)
|
|
* [network list](network_ls.md)
|
|
* [network rm](network_rm.md)
|
|
* [network prune](network_prune.md)
|
|
* [network connect](network_connect.md)
|
|
* [network disconnect](network_disconnect.md)
|