Add docker cli package

Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
This commit is contained in:
Helder Correia
2022-03-25 15:17:11 -01:00
parent 4f440bc67a
commit 05d79e8ba6
14 changed files with 228 additions and 90 deletions

View File

@@ -0,0 +1,20 @@
---
slug: /1216/docker-cli-load
displayed_sidebar: europa
---
# Loading a dagger image into a docker daemon
Using `cli.#Load`, you can save a dagger image (`docker.#Image`) into a local or remote engine.
It can be useful to debug or test a build locally before pushing.
## Local daemon
```cue file=./plans/docker-cli-load/local.cue
```
## Remote daemon, via SSH
```cue file=./plans/docker-cli-load/ssh.cue
```