diff --git a/common/docs/containers.conf.5.md b/common/docs/containers.conf.5.md index 4358e8f9f5..dcea3b7b0f 100644 --- a/common/docs/containers.conf.5.md +++ b/common/docs/containers.conf.5.md @@ -745,6 +745,8 @@ Environment variables like $HOME as well as complete paths are supported for the source and destination. An optional third field `:ro` can be used to tell the container engines to mount the volume readonly. +On Mac, the default volumes are: `"/Users:/Users", "/private:/private", "/var/folders:/var/folders"` + # FILES **containers.conf** diff --git a/common/pkg/config/default_darwin.go b/common/pkg/config/default_darwin.go index 5d857df4f2..7557666209 100644 --- a/common/pkg/config/default_darwin.go +++ b/common/pkg/config/default_darwin.go @@ -14,5 +14,9 @@ func getLibpodTmpDir() string { // getDefaultMachineVolumes returns default mounted volumes (possibly with env vars, which will be expanded) func getDefaultMachineVolumes() []string { - return []string{"$HOME:$HOME"} + return []string{ + "/Users:/Users", + "/private:/private", + "/var/folders:/var/folders", + } }