Update docker run command to actually use bindmounts.

This commit is contained in:
jowj 2018-12-01 19:43:21 -06:00
parent 3dfcb5cbe7
commit ab6d7f0ea5

View File

@ -18,5 +18,5 @@
# this has to be a shell because command: isn't interactive # this has to be a shell because command: isn't interactive
shell: docker container rm znc shell: docker container rm znc
- name: run the container (assumes the volume is already set up) - name: run the container (assumes the volume is already set up)
command: docker run -d -p 5000:5000 -v znc-cfg:/znc-data znc command: docker run -d -p 5000:5000 --mount type="bind",source="/mnt/volume_sfo2_znc/",target=/znc-data znc