Difference between revisions of "Docker networking"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
  
 
  [[Docker compose: driver:]]
 
  [[Docker compose: driver:]]
 +
 +
* <code>[[docker run --network="host"]]</code>
  
 
{{docker network TOC}}
 
{{docker network TOC}}

Revision as of 14:24, 31 January 2024

Docker compose: driver:

* docker run --network="host"


Help

 docker network

Usage:	docker network COMMAND

Manage networks

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.

Related

See also

  • https://docs.docker.com/network/links/
  • Advertising: