Update cheatsheets

This commit is contained in:
ivuorinen
2025-12-03 12:55:58 +00:00
parent e1f4a4ffa5
commit 1079e2c07a
12 changed files with 89 additions and 17 deletions

View File

@@ -10,15 +10,15 @@ source: https://github.com/tldr-pages/tldr.git
- Create a context using a specific Docker endpoint:
`docker context create {{my_context}} --docker "host={{tcp://remote-host:2375}}"`
`docker context create {{context_name}} --docker "host={{tcp://remote-host:2375}}"`
- Create a context based on the `$DOCKER_HOST` environment variable:
`docker context create {{my_context}}`
`docker context create {{context_name}}`
- Switch to a context:
`docker context use {{my_context}}`
`docker context use {{context_name}}`
- List all contexts: