Export the files of a Container
To export the files of a container, use the command "docker export".
Let's create a container and export its contents:
If you check at the Dockerfile of the "hello-world" image (see bellow),
you will notice that it only copy the "hello" file which is the only non-empty file in the container.
The other files and directories in the container are mandatory and Docker will automatically bind-mount them from the Docker host.