commit
2e7ae4fdf0
@ -3,10 +3,15 @@ slug: /1216/docker-cli-load
|
|||||||
displayed_sidebar: '0.2'
|
displayed_sidebar: '0.2'
|
||||||
---
|
---
|
||||||
|
|
||||||
# Loading a dagger image into a docker daemon
|
# Loading an image into a docker engine
|
||||||
|
|
||||||
Using `cli.#Load`, you can save a dagger image (`docker.#Image`) into a local or remote engine.
|
Dagger can build, run, push and pull docker images natively, without the need of a Docker engine.
|
||||||
|
This feature is available in the package `universe.dagger.io/docker`.
|
||||||
|
|
||||||
|
However, sometimes after building an image, you specifically want to load it into your Docker engine.
|
||||||
|
This is possible with the *Docker CLI* package: `universe.dagger.io/docker/cli`.
|
||||||
|
|
||||||
|
Using `cli.#Load`, you can load an image built by Dagger into a local or remote engine.
|
||||||
It can be useful to debug or test a build locally before pushing.
|
It can be useful to debug or test a build locally before pushing.
|
||||||
|
|
||||||
## Local daemon
|
## Local daemon
|
||||||
|
@ -53,8 +53,8 @@ module.exports = {
|
|||||||
"guides/custom-buildkit",
|
"guides/custom-buildkit",
|
||||||
"guides/self-signed-certificates",
|
"guides/self-signed-certificates",
|
||||||
"guides/pushing-plan-dependencies",
|
"guides/pushing-plan-dependencies",
|
||||||
"guides/coding-style",
|
|
||||||
"guides/handling-outputs",
|
"guides/handling-outputs",
|
||||||
|
"guides/migrate-from-dagger-0.1",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -81,10 +81,6 @@ module.exports = {
|
|||||||
"use-cases/go-docker-swarm",
|
"use-cases/go-docker-swarm",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
|
||||||
type: "doc",
|
|
||||||
id: "migrate-from-dagger-0.1",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
type: "link",
|
type: "link",
|
||||||
label: "⬅️ Dagger 0.1",
|
label: "⬅️ Dagger 0.1",
|
||||||
|
Reference in New Issue
Block a user