Nomad: Docker driver mount volume support / documentation

Created on 27 Jan 2016  路  9Comments  路  Source: hashicorp/nomad

Nomad does not support (or does not document) how to mount volumes on a Docker container. A use case here being mounting the host /var/lib/cassandra directory to my cassandra docker container. The Docker syntax to do this is the -v switch. For example:

docker run --name cass-master -d -v /var/lib/cassandra:/var/lib/cassandra cassandra

Can this support please be added, or, if already present, documented.

Thank you,
-Dan

themdrivedocker typenhancement

Most helpful comment

Any news on 0.4 ?
Got my cluster and jobs ready, just missing the volume for persistent data :)

All 9 comments

@dsklopp This is coming in v0.4

Closing since we have other open issues around supporting volumes

@diptanu when is v0.4 expected to be released? I am prototyping Nomad for our Docker environment, and I need to plan accordingly.

@dsklopp We are doing 0.3 in a few weeks. Tentatively Nomad 0.4 is going to be out sometime in March

does Nomad support dynamic volume according to docker's container's id or other identity?

@duffqiu Please see the other open issues around volumes. They are currently not supported in Nomad

Keeping fingers crossed for v0.4 :smile:

Any news on 0.4 ?
Got my cluster and jobs ready, just missing the volume for persistent data :)

Was this page helpful?
0 / 5 - 0 ratings