this reflects what is in the docker/docker/pkg/mount API. makes it easier to port additional code to out API.
Preserving git history.