Introduction
Sometimes you need to move files between your computer and a running container. This helps when you want to add files to the container or get files out for inspection or backup.
When you want to add a configuration file to a running container without rebuilding the image
When you need to retrieve logs or output files generated inside a container
When you want to copy a script or data file into a container to run it there
When you want to backup files from a container to your local machine
When you want to inspect or modify files inside a container without using an interactive shell