Docker : How to export/save classifying results outside a Docker (tensorflow) box?
use volumes
Share a so called host volume with your host, laptop, to write down the results directly on the host. e.g when starting your image
docker run -v /home/me/docker/results:/data/results <image>
In your container, when you write on /data/results, all files will be synced back / placed on the host under /home/me/docker/results
You can of course adjust both, the host or the container path
user docker cp
You can easily copy file from a docker container ( or to a docker container ) user docker cp
so
docker cp <yourimageid>:/path/to/the/file/on/the/container /home/me/docker/results
Do this, before you shutdown the container