qgis / qgis-docker

Official Docker image for QGIS Server and Desktop
GNU Affero General Public License v3.0
67 stars 21 forks source link

statx() requires Docker 18.04+ #1

Closed daniviga closed 5 years ago

daniviga commented 6 years ago

Qt 5.10+ use statx() syscalls that are not allowed in unprivileged Docker containers running Docker < 18.04.

Refs:

daniviga commented 5 years ago

On Fedora the issue can be workaround either:

mbernasocchi commented 5 years ago

also note that docker-ce 18.04+ alone is not enough, the host must also have at least libseccomp2_2.3.3 which is not the case for ubuntu 18.04.1 (it has libseccomp2_2.3.1) dpkg -i libseccomp2_2.3.3-3ubuntu1_amd64.deb and restarting docker solves this on ubuntu 18.04.1

mbernasocchi commented 5 years ago

the docker-ce repo does unfortunately not have libseccomp

daniviga commented 5 years ago

Added https://github.com/gem/oq-qgis-server/blob/master/README.md#requisites

daniviga commented 5 years ago

We are now providing also containers based on Ubuntu with an older version of Qt.

We'll see in the future if remove Fedora and use just Ubuntu or whatever.

daniviga commented 4 years ago

also note that docker-ce 18.04+ alone is not enough, the host must also have at least libseccomp2_2.3.3 which is not the case for ubuntu 18.04.1 (it has libseccomp2_2.3.1) dpkg -i libseccomp2_2.3.3-3ubuntu1_amd64.deb and restarting docker solves this on ubuntu 18.04.1

18.04 now ships libseccomp 2.4.1-0ubuntu0.18.04.2 which addresses the issue