“Docker Exec” Code-Antworten

wie man in Docker -Container schlägt

docker exec -it nginx /bin/bash
SmokeFrog

Docker Exec

docker exec -it test ps aux

USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  2.6  0.1  19752  2352 ?        Ss+  08:24   0:00 top -b -H
root         7  0.0  0.1  15572  2164 ?        R+   08:25   0:00 ps aux
Fadhel Ali

Docker Exec -it -ID -Befehl

it ensures that when you exit from contianer it is still running
Quaint Quelea

Ähnliche Antworten wie “Docker Exec”

Fragen ähnlich wie “Docker Exec”