Difference between revisions of "Docker context"

From wikieduonline
Jump to navigation Jump to search
Line 15: Line 15:
 
  [[docker context create aci]]
 
  [[docker context create aci]]
 
  [[docker context use]]
 
  [[docker context use]]
 +
[[docker context inspect]]
 
  docker-compose ‐‐context remote up -d
 
  docker-compose ‐‐context remote up -d
 
  docker context use remote
 
  docker context use remote
  
  
  export DOCKER_HOST=$([[docker context]] inspect --format '{{.Endpoints.docker.Host}}')
+
  export DOCKER_HOST=$([[docker context inspect]] --format '{{.Endpoints.docker.Host}}')
  
 
[[docker context --help]]
 
[[docker context --help]]

Revision as of 15:14, 19 July 2023

Advertising: