Execute a command on an already running Docker container.
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 This content has been proxied by September (ba2dc).Proxy Information
text/gemini;lang=en-GB