Entering a Running Container
docker exec starts a new process inside an existing running container. It is useful for checking files, environment variables, DNS resolution, permissions, and application processes.
Do not treat manual changes made through exec as permanent fixes. Update the Dockerfile or deployment configuration so the fix can be reproduced.