Why does Docker not make editing volumes easy?

A simple shell script to copy files to and from a docker container.