Skip to content

Volumes default path #16

Description

@fmfpereira

The default path for host volumes (tested with Manjaro linux (ARCH) and macOS) is /var/lib/docker/volumes.

macOS is unable to create "/var/lib/docker/volumes/other-folders" even when run as root. I've tried to create the folder manually (/var/lib/docker/volumes/debian8_mariadb10_data/_data) and docker is unable to bind.

From my personal opinion, i would like data folders created on each DISTRO folder, within a volumes folder. This strategy would solve the problem with relative paths on volume configurations for each docker-compose.yml file.

Eg.

volumes:
    - ./volumes/mariadb10_data:/var/lib/mysql

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions