Docker Community Forums

Share and learn in the Docker community.

Docker exec command verbose?


Is there a way to get verbose messages from docker exec?
For example if I am running a complex restore oracle database script within a given container with “docker exec” command - I would like to get the verbose output as the script progresses.


This question is to vague to help you. Need more information.

docker exec doesn’t interfere with your output on that layer. You may need to ensure you have appropriate TTY settings for some output. If you pass the verbose option specific to your tool as an argument it should work fine.

$ docker exec container oracle-restore -vvv

Or potentially:

$ docker exec -t container oracle-restore -vvv


1 Like