Docs: move draft articles to "guides"
Signed-off-by: Solomon Hykes <solomon@dagger.io>
This commit is contained in:
20
docs/guides/1216-docker-cli-load.md
Normal file
20
docs/guides/1216-docker-cli-load.md
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
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
|
||||
```
|
23
docs/guides/1217-docker-cli-run.md
Normal file
23
docs/guides/1217-docker-cli-run.md
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
slug: /1217/docker-cli-run
|
||||
displayed_sidebar: europa
|
||||
---
|
||||
|
||||
# Running commands with the docker binary (CLI)
|
||||
|
||||
There's a `universe.dagger.io/docker/cli` package that allows you to run docker commands against a local or remote docker engine. Here's a few examples.
|
||||
|
||||
## Local daemon
|
||||
|
||||
```cue file=../plans/docker-cli-run/local.cue
|
||||
```
|
||||
|
||||
## Remote daemon, via SSH
|
||||
|
||||
```cue file=../plans/docker-cli-run/ssh.cue
|
||||
```
|
||||
|
||||
## Remote daemon, via HTTPS
|
||||
|
||||
```cue file=../plans/docker-cli-run/tcp.cue
|
||||
```
|
Reference in New Issue
Block a user