Merge pull request #2187 from shykes/docs-misc

Docs: small fixes
This commit is contained in:
Gerhard Lazu 2022-04-14 10:24:57 +01:00 committed by GitHub
commit 2e7ae4fdf0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 7 deletions

View File

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

View File

@ -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",