Como bater no contêiner do Docker
docker exec -it nginx /bin/bash
SmokeFrog
docker exec -it nginx /bin/bash
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
it ensures that when you exit from contianer it is still running