d20ffbe8be
O.1 docs is deprecated. Let's inform user to switch the the latest version Signed-off-by: user.email <jf@dagger.io>
23 lines
420 B
Markdown
23 lines
420 B
Markdown
---
|
|
slug: /1216/docker-cli-load
|
|
displayed_sidebar: '0.2'
|
|
---
|
|
|
|
# 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
|
|
|
|
```
|