[Qgis-user] running qgis Docker container on Mac?

Matthias Kuhn matthias at opengis.ch
Fri Oct 20 23:11:09 PDT 2017


Hi,

this container was designed for automated testing, hence the call to
this script.

What you want instead is to run QGIS (and not its tests), so you could
try something like


docker run qgis/qgis /root/QGIS/build/output/bin/qgis


I guess you will also need to do some additional tricks to get any
window to show up, docker is not designed to run gui application. IIRC
there's a thing called xquartz that can help here.

Matthias


On 10/20/2017 08:21 PM, Lynnes, Christopher S. (GSFC-5860) wrote:
> Has anyone gotten the latest qgis/qgis Docker container to work on Mac?
>
> I'm on a MacBook Air running 10.11.6. I am running Docker  17.09.0-ce.  I have been trying to get QGIS installed on my machine (without having to muck around with my Qt dirs), so I tried the containerized route.  I downloaded qgis/qgis from hub.docker.com.  When I run it, though, I get an immediate exit:
>
>>> docker run qgis/qgis
>>> /bin/sh: 1: /root/QGIS/.ci/travis/linux/docker-build-test.sh: not found
>>> echo $?
>>> 127
> Inspecting the container, I see the offending command:
>>             "Cmd": [
>>                 "/bin/sh",
>>                 "-c",
>>                 "/root/QGIS/.ci/travis/linux/docker-build-test.sh"
>>             ],
> Then looking at the QGIS master branch’s Dockerfile, https://issues.qgis.org/projects/qgis/repository/revisions/master/entry/.docker/Dockerfile
>
> I see it again at the bottom.  
>
> I tried submitting a bug report, but it was rejected as not being a QGIS problem.
>
> Any suggestions on how to proceed?
>> Christopher Lynnes   NASA/GSFC    301-614-5185
> ""Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.”  A. de St. Exupery
>
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>




More information about the Qgis-user mailing list