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
This answer to another question shows how to start a stopped container with another command. Here are the commands to list files in a stopped container.
test_image
.
docker commit $CONTAINER_ID test_image
docker run -ti --entrypoint=sh test_image
docker exec --privileged $NEW_CONTAINER_ID ls -1 /var/log