21 lines
384 B
Markdown
21 lines
384 B
Markdown
|
---
|
||
|
slug: /1216/engine-load
|
||
|
displayed_sidebar: europa
|
||
|
---
|
||
|
|
||
|
# Loading a dagger image into a docker daemon
|
||
|
|
||
|
Using `docker.#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/local.cue
|
||
|
```
|
||
|
|
||
|
## Remote daemon, via SSH
|
||
|
|
||
|
```cue file=./plans/ssh.cue
|
||
|
```
|