Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

Mounting a disk #1657

Open
Open
@0xRoch

Description

My db uses a spare SSD drive, I would like to know how I can mount a Google cloud disk with docker-compose and docker-machine.

CoreOS allows to have a mount unit in their cloud-config.yml file :

- name: media-mydisk
      command: start
      content: |
        [Mount]
        What=/dev/disk/by-id/google-mydisk
        Where=/media/mydisk
        Type=btrfs

I don't think it should be handled by docker-compose, but docker-machine should be able to do something similar.

Right now the only way to do that I think is to ssh onto the host and mount it manually

Activity

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

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions