This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/docs/drafts/1216-docker-cli-load.md
Helder Correia 05d79e8ba6
Add docker cli package
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-25 18:24:33 -01:00

21 lines
417 B
Markdown

---
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
```