docker exec

Execute a command on an already running Docker container.

=> More information.

docker exec --interactive --tty {container_name} {/bin/bash}
docker exec --detach {container_name} {command}
docker exec --interactive -tty --workdir {path/to/directory} {container_name} {command}
docker exec --interactive --detach {container_name} {command}
docker exec --interactive --tty --env {variable_name}={value} {container_name} {/bin/bash}
docker exec --user {user} {container_name} {command}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

=> CC-BY

Proxy Information
Original URL
gemini://freeshell.de/tldr/docker-exec.gmi
Status Code
Success (20)
Meta
text/gemini;lang=en-GB
Capsule Response Time
104.132843 milliseconds
Gemini-to-HTML Time
0.451916 milliseconds

This content has been proxied by September (ba2dc).