docker exec -w /app myapp ls

Category: Docker

docker exec -w /app myapp ls

Run a command in a specific working directory inside the container

Runs a command in a specific working directory (-w) inside the container.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.