Add docker cli package

Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
This commit is contained in:
Helder Correia
2022-03-25 15:17:11 -01:00
parent 4f440bc67a
commit 05d79e8ba6
14 changed files with 228 additions and 90 deletions

View 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
```