You must use mount volume. At your command, docker run....you can specify the volume to mount. The syntax is as follows:
-v / host / directory: / container / directory
Example:
The window starts -it -v C: \ Users \ thomas \ Desktop: / root / home --name my_container image1
/root/home .