Linking/Mounting Docker volumes in Nomad

Hi, I have a volume I created via my dockerfile and when I run docker locally I’m able to see it. I’m also using Nomad to manage containers but when I run it, it does not get linked to the volume that was created in the docker file. How to I link it or mount it in docker, and example will be very helpful. Thanks in advance.

In Dockerfile:

VOLUME abc:/data/bamboo2/bamboo-data

In Nomad file:

    volumes = [
      #Named volumes created in corresponding docker file outside nomad.
      "abc:/data/bamboo2/bamboo-data",
    ]

Hi @jam1848. Thanks for using Nomad.

This wordpress pack is a great example of a way to connect volumes on a it uses host volumes and this learn guide is also a great references. Does this help?

This is very helpful especially the wordpress link above. Thanks a bunch.