This question shows how to copy files out of a stopped container. This requires that I know the full path to the file including its file name. I know the directory I want to c
If you want to see a certain file content, I would suggest using docker container cp
command. Here is the doc. It works on stopped container. Example:
docker container cp 02b1ef7de80a:/etc/nginx/conf.d/default.conf ./
This way I got the config file that was generated by templating engine during start.