Skip to content

Instantly share code, notes, and snippets.

@javikalsan
Created March 1, 2019 21:31
Show Gist options
  • Save javikalsan/2e76b46c386538acd6399f581ab99ddf to your computer and use it in GitHub Desktop.
Save javikalsan/2e76b46c386538acd6399f581ab99ddf to your computer and use it in GitHub Desktop.
#!/bin/bash
# Start the qgis dockerized dev version
# qgis 2019 workshop: Data Visualization and Cartography with QGIS
# Allow connections from any host
xhost +
# Start docker container with plugins path and qgis projects path mapped
# to persist and load existing qgis plugins
docker run --rm -it --name qgis \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v ~/scripts/dockerQgisProfile:/root/.local/share/QGIS/QGIS3/profiles/default/ \
-v ~/Documents/qgisProjects:/root/qgisProjects/ \
-e DISPLAY=unix$DISPLAY \
qgis/qgis:latest qgis
# For solve Data Plotly plugin missing dependency: pip3 install plotly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment