Skip to content

Instantly share code, notes, and snippets.

@houssemFat
Created February 7, 2017 17:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save houssemFat/9c675af06d2837b99f9581c03f500022 to your computer and use it in GitHub Desktop.
Save houssemFat/9c675af06d2837b99f9581c03f500022 to your computer and use it in GitHub Desktop.
Running docker with volumes on windows
docker run -d -p 1883:1883 --name=mosquitto
-v //c//Users//houssem.fathallah//data:/var/messageSight/
-v //c//Users//houssem.fathallah//data//mosquito:/etc/mosquitto \
-v //c//Users//houssem.fathallah//data//mosquito.d:/etc/mosquitto.d \
-v //c//Users//houssem.fathallah//var//mosquitto:/var/lib/mosquitto \
-v //c//Users//houssem.fathallah//var//mosquitto/auth-plug.conf:/etc/mosquitto.d/auth-plugin.conf \
sourceperl/mosquitto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment