bddb9b6543
Signed-off-by: Solomon Hykes <solomon@dagger.io>
24 lines
486 B
Markdown
24 lines
486 B
Markdown
---
|
|
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
|
|
```
|