Container for QGis application running on Ubuntu 16.04
789
I needed the QGis software but found out some dependencies were annoying to resolve on host machines other than Ubuntu. Add to that the fact that it comes with its own internal python, and you can conclude that managing it can be a little annoying. This repository comes to save everyone that needs to do geospatial analysis without headaches.
The following is a sample command I would use to run QGis with sound and data volumes on a Ubuntu 16.04 host:
$ docker run --rm \
-e DISPLAY \
-e QT_X11_NO_MITSHM=1 \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v /home/user/qgis_projects:/qgis_projects \
crsilva/qgis:latest
FROM ubuntu:latest
MAINTAINER Cristobal Silva <[email protected]>
RUN printf "deb http://qgis.org/debian xenial main\ndeb-src http://qgis.org/debian xenial main\n" >> /etc/apt/sources.list && \
apt-key adv --keyserver keyserver.ubuntu.com --recv-key 073D307A618E5811
RUN apt-get update && \
apt-get install -y qgis python-qgis qgis-plugin-grass && \
rm -rf /var/lib/apt/lists/*
CMD ["/usr/bin/qgis"]
Content type
Image
Digest
Size
433.2 MB
Last updated
over 9 years ago
docker pull crsilva/qgis