Module network

Module network 

Source
Expand description

Docker network management commands.

This module provides commands for managing Docker networks:

  • network create - Create a network
  • network ls - List networks
  • network rm - Remove networks
  • network inspect - Display detailed network information
  • network connect - Connect a container to a network
  • network disconnect - Disconnect a container from a network
  • network prune - Remove unused networks

Re-exports§

pub use connect::NetworkConnectCommand;
pub use connect::NetworkConnectResult;
pub use create::NetworkCreateCommand;
pub use create::NetworkCreateResult;
pub use disconnect::NetworkDisconnectCommand;
pub use disconnect::NetworkDisconnectResult;
pub use inspect::NetworkInspectCommand;
pub use inspect::NetworkInspectOutput;
pub use ls::NetworkInfo;
pub use ls::NetworkLsCommand;
pub use ls::NetworkLsOutput;
pub use prune::NetworkPruneCommand;
pub use prune::NetworkPruneResult;
pub use rm::NetworkRmCommand;
pub use rm::NetworkRmResult;

Modules§

connect
Docker network connect command implementation.
create
Docker network create command implementation.
disconnect
Docker network disconnect command implementation.
inspect
Docker network inspect command implementation.
ls
Docker network ls command implementation.
prune
Docker network prune command implementation.
rm
Docker network rm command implementation.