Bug report #17310

Cannot start up docker container qgis/qgis on Mac

Added by Christopher Lynnes about 3 years ago. Updated over 2 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Build/Install
Affected QGIS version:master Regression?:No
Operating System:Mac 10.11.6, Docker 17.09.0-ce Easy fix?:No
Pull Request or Patch supplied:No Resolution:invalid
Crashes QGIS or corrupts data:No Copied to github as #:25208

Description

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 suggests that the Cmd object in Config has a faulty command:
"Config": {
"Hostname": "93ff90781812",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"CC=/usr/lib/ccache/clang",
"CXX=/usr/lib/ccache/clang++",
"QT_SELECT=5",
"LANG=C.UTF-8"
],
"Cmd": [
"/bin/sh",
"-c",
"/root/QGIS/.ci/travis/linux/docker-build-test.sh"
],

If we could just get the right command in that Docker config, should clear up...

History

#1 Updated by Giovanni Manghi about 3 years ago

  • Easy fix? changed from Yes to No
  • Status changed from Open to Feedback
  • Crashes QGIS or corrupts data changed from Yes to No

Ummm... this is the tracker for the QGIS application, not for anything else (so not for the dicker container... that I'm not even sure we officially support).

#2 Updated by Christopher Lynnes about 3 years ago

Well, the docker hub web page at https://hub.docker.com/r/qgis/qgis/ says it is the "official docker repository for http://qgis.org." And the page also says "Please submit bug reports using the QGIS bug tracker", linking to https://issues.qgis.org/.

And the Dockerfile that has that apparently wrong command statement is in the master branch on this Repository: https://issues.qgis.org/projects/qgis/repository/changes/.docker/Dockerfile?rev=master

The Author listed in the container from docker hub is Denis Rouzaud, who appears to be one of the contributors here. Should I be making him the Assignee here? He's in the valids list... (But it seemed a bit presumptuous for a first-time bug submitter.)

#3 Updated by Giovanni Manghi about 3 years ago

Christopher Lynnes wrote:

Well, the docker hub web page at https://hub.docker.com/r/qgis/qgis/ says it is the "official docker repository for http://qgis.org." And the page also says "Please submit bug reports using the QGIS bug tracker", linking to https://issues.qgis.org/.~

that is the standard readme that we distribute with QGIS, so it refers to problem of the QGIS program, not of (in this case) a docker container with QGIS in it.

I would prefer if for this specific issue (running this container) you can ask in the users and/or developers mailing lists. Thanks.

#4 Updated by Giovanni Manghi over 2 years ago

  • Resolution set to invalid
  • Status changed from Feedback to Closed

Also available in: Atom PDF