Here is the simple command to copy files from stopped docker containers if you are not used volume mapping.
Run docker ps -a to list the active/inactive containers
Run the following command to copy the desired content to the host machine.
docker cp <CONTAINER_ID>:<LOCATION OF FILE INSIDE THE CONTAINER>/<FILE_NAME> <HOST_PATH_TARGET>