Questions tagged [docker]
Docker provides a high-level API to containerize unix processes and applications with some degree of isolation and repeatability across servers.
91
questions
0
votes
0
answers
37
views
QGIS server service file pg_service.conf not found when doing a request
Having this docker compose (v2) file for setting up a local (Ubuntu) QGIS server:
services:
qgis:
image: "camptocamp/qgis-server:latest"
environment:
PGSERVICEFILE: "/...
0
votes
1
answer
54
views
No module named 'osgeo._gdal_array' - Docker image with Python and GDAL
I'm having trouble using GDAL in docker.
My application locally but when on docker I get this error:
ModuleNotFoundError: No module named 'osgeo._gdal_array'
I created here a small example to make ...
0
votes
1
answer
67
views
Error while kartoza/geoserver:2.24.0 compose file
I have many errors preventing GeoServer from starting. The data directory is clean and I got the errors.
Here is my compose file
version: '3.9'
name: uals_gs
services:
masterGs:
image: kartoza/...
0
votes
0
answers
39
views
GeoServer custom configuration is overidden being overridden by EFS in AWS ECS deployment
We're using Amazon ECS to deploy our custom GeoServer Docker image and have opted to mount an Amazon EFS filesystem for the GeoServer data directory. Within this directory on EFS, we have several data ...
0
votes
1
answer
52
views
Programmatic configuration of authkey and similar to GeoServer
I am using the kartoza/geoserver-docker image link to serve map layers because I wish to gracefully handle server failures and support scaling if needed.
My docker container has a persistent store for ...
0
votes
0
answers
51
views
GDAL Installation Failing on CentOs Error: config.status: error: invalid argument: `src/proj_config.h'
I need a version of GDAL > 3 so I am installing from source and having an issue, this is the error I am getting.
make[2]: Leaving directory `/var/task'
12.28 cd .. && /bin/sh ./config....
0
votes
1
answer
51
views
Serving multiple projects with Dockerized QGIS Server
Context : I'm building a cartographic service that should frequently receive weather forecasts data, process them (extract datas, create layers with associated symbology) then save them as independant ...
0
votes
0
answers
17
views
GeoServer has a strange behaviour when using authkey
I have the following problem and I don't understand if this is normal and what happens behind the scenes:
I have setup GeoServer 2.23.2 with authkey using docker and added a role to a workspace in ...
1
vote
1
answer
366
views
Solve invalid endian flag value encountered exception on PostGIS and Quarkus
I am trying to run a simple example with PostGIS but I am getting the error:
Caused by: java.lang.NoSuchMethodError: 'void org.hibernate.dialect.PostgreSQL81Dialect.registerColumnType(int, java.lang....
0
votes
0
answers
34
views
Download GRASS GIS addons and install from local machine
I use GRASS GIS from a Docker container, and every time I rebuild the image, addons like r.stream.order and r.stream.snap are installed from the GRASS repository. Maybe it's an improper way and I ...
0
votes
0
answers
182
views
When deploying a GeoServer via Docker the container can't see my data directory
Deploying a GeoServer via Docker (include data with PostGIS). Container can't see my data directory. I am use Ubuntu 20.04
I need the GeoServer through docker to show my data, which I copy to COPY ./...
0
votes
1
answer
302
views
Adding extensions to GeoServer using Docker
I am trying to add extensions to GeoServer running in a Docker container.
The documentation https://docs.geoserver.org/main/en/user/installation/docker.html is suggesting this way
docker run --env ...
2
votes
1
answer
326
views
Setting up QGIS Python scripts in Docker container
I am trying to set up QGIS within a Docker container in order to run standalone Python scripts, but I have a few problems.
I first had a No module named PyQt5.sip error which I fixed by adding PyQt5 ...
0
votes
0
answers
47
views
geo.Geoserver.GeoserverException: Status : 404 - b"No such workspace - geoserver-rest - Docker
This question is related to docker and geoserver-rest. It is a part of a larger project but I have a created some simpler code to debug. The purpose of the code is to check whether a workspace exists ...
1
vote
1
answer
222
views
ArcGIS Python API wont run in Docker
I built a Docker container to run one of our ArcGIS Python API scripts. It ran for a couple of months successfully. Recently I added some minor enhancements and rebuilt the Docker image. Thereafter, ...
0
votes
0
answers
85
views
QGIS server WFS/OAPIF Post request hangs on: WARNING [13]: attr: name=Description idx=0 value=Test
Short
I am currently experiencing QGIS server with transactions using WFS/OAPIF, namely for doing POST requests.
To to this end, I'm using a Docker image (either [1] or [2]; the same problem as the ...
1
vote
1
answer
331
views
GeoServer with Docker, no manifest found
I haven't managed to get GeoServer working with Tomcat (but am still trying). I decided to give Docker a shot, but when I run sudo docker pull docker.osgeo.org/geoserver:2.24-SNAPSHOT from here, it ...
1
vote
1
answer
31
views
Unable to configure 'Feedback' settings for Geonetwork; sending emails
I am just trying to configure an email server into Geonetwork ('Feedback' options in settings) so users can get self-registered and receive an email. However, it is not working so far. This is the ...
1
vote
0
answers
30
views
Provide pre-configured PostgreSQL, XYZ, and WMS connections to docker install of QGIS
I'm creating a custom docker image for Kasm (https://kasmweb.com/) of various GIS software. For the QGIS install, I would like to include the appropriate database connections, WMS, and XYZ tile ...
0
votes
0
answers
253
views
Apache Sedona issue: "Cannot convert this array to unsafe format as it's too big"
OS: Ubuntu 20.04
Scala: 2.12.10
Spark/pyspark: 3.0.3
GDAL: 3.6.2
I am trying to work with raster files in apache spark/sedona. The rasterfiles can be downloaded from here. The jp2 file are translated ...
4
votes
1
answer
92
views
Wrong order of the geometry parts in the result of QgsGeometry.difference()
I am currently blocked by a quite weird issue I have no idea how to solve.
On Windows 10, with QGIS Desktop 3.22.11. The simple process of doing a difference between a linestring and a polygon breaks ...
1
vote
1
answer
144
views
Dockerize ArcMap-application
I'm trying to dockerize my ArcMap-application, which is written using ArcObjects for Desktop. The reason to do that is, we have a huge code-base that we want to test automatically as much as possible ...
0
votes
1
answer
388
views
QGIS Server, REQUEST=GetCapabilities not working
I installed the QGIS Server example on my Synology by this link:
https://docs.qgis.org/3.22/en/docs/server_manual/containerized_deployment.html#simple-docker-images
but I got this error:
[error] 9#9: *...
3
votes
1
answer
344
views
QGIS OpenRouteService plugin: using OpenRouteService run in Docker rather than the ORS main API
So I am trying use the OpenRouteService plugin in QGIS to calculate the drive times and distances between two sets of points. However the size of my file exceeds the allowed data usage of the ...
2
votes
1
answer
190
views
Reduce QGIS Docker image size
I am using the Docker image from Dockerhub to run a few Python scripts that use the following modules:
qgis.core
qgis.gui
qgis.PyQt.QtGui
Uncompressed that Docker image is > 8GB in size. Is there ...
0
votes
0
answers
85
views
Convert PostGIS to MS SQL inside web app using ogr2ogr.py and Docker
I am trying to convert a PostGIS database to a SQL Server database inside a running Flask app.
There are three docker containers running:
web: flask app
postgis: PostGIS database
mssql: MSSQL ...
1
vote
1
answer
91
views
Providing MS_ENCRYPTION_KEY as an enviornment variable instead of a file in a mapserver mapfile
In order to use a secured WMS service in a mapfile, one can directly provide credentials as follow:
LAYER
NAME "topic-infra-service"
TYPE RASTER
STATUS ON
CONNECTION "...
1
vote
1
answer
80
views
v.in.ogr does not provide any error information
I am using the mundialis/grass-py3-pdal:8.2.0-alpine docker image to run GRASS. I run the following from the bash command line (inside the container):
/usr/local/grass/bin/v.in.ogr input=/path/to/...
0
votes
2
answers
131
views
PostGIS docker image giving different result than local PostGIS (Windows 10)
I've got a monster of a query that at the end will spit out some lines (4326) and before the final lines are spit out, the ones that run into each other are combined. This works great locally;
I ...
0
votes
1
answer
339
views
pg_tileserv Docker - How to access and modify the configuration file? [closed]
I set up pg_tileserv. Once using the binary file and once using Docker. Downloading the binary includes a config .toml file. How can I access this file when I set up pg_tileserv with Docker? There are ...
0
votes
1
answer
813
views
GeoServer - disk quota error
I was able to dockerize the GeoServer (KARTOZA image) into an AWS ECS CLUSTER, to which I have attached an EFS volume; inside the EFS is sitting the data dir /opt/geoserver_data/data_dir.
I noticed ...
0
votes
1
answer
588
views
Docker GeoServer GeoFence Issue
I am trying to test the Geofence Plugin using the official Docker project of GeoServer. Unfortunately when running
docker run -it --env INSTALL_EXTENSIONS=true --env STABLE_EXTENSIONS="authkey,...
1
vote
0
answers
106
views
Cannot use the delete method on the REST API GeoServer
I try to use GeoServer in docker file from kartoza/geoserver with version docker.io/kartoza/geoserver:2.20.3
But I have some problem when use a REST API GeoServer with delete method
The code for ...
-1
votes
1
answer
137
views
A docker tile server that can serve UTM XXy CRS tiles (reproject)?
I want to serve vector and raster layers of any downloadable open world map of CRS UTM 34s on a selfhosted tile server running in docker. How to do such thing?
0
votes
0
answers
205
views
Publishing raster from PostGIS with GeoServer
Goal: Publish rasters stored in columns of PostGIS DB using GeoServer
GeoServer-version is 2.19.0 run inside a docker-container
I found the Image Mosaic JDBC-Extension and followed this post: ...
1
vote
0
answers
194
views
Geoserver Performance Bootleneck in Docker - Response Time is very high
I am using GeoServer 2.20.4 & Tomcat9.0.62 version in live environment with Docker. Sometimes I have performance issues. I'm investigating the reason for this.
The server has 24gb RAM. It can use ...
0
votes
0
answers
237
views
GeoServer + PostGIS performance
Testing a GeoServer performance. Using a Kartoza docker image and data is under AWS RDS instance for PostgreSQL.
The size of the PostgreSQL materialized view is Size 3,666 MB.
Spatial indexes and ...
0
votes
0
answers
74
views
Problem with Earth Engine Python API Implementation
I am trying to use the Python Earth Engine API to run an application. This application is already in production and I am trying to migrate it to a new server. It runs in a Docker Container and uses ...
0
votes
1
answer
119
views
How to add more providers to QgsProviderRegistry.instance().providerList()
I have built a Docker image containing QGIS.
FROM qgis/qgis:release-3_18
## Set environment variables
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8
RUN apt-get update --fix-missing
RUN apt-get install -y wget \
...
0
votes
1
answer
449
views
QWC2 Docker - access PostgresSQL docker in QGIS on Ubuntu for project in \qgsresources\scan directory
In QWC Docker - I can access PostgreSQL on the localhost but I can not access the docker PostgreSQL. Do I need to run QGIS in the docker? or add something else to this?
I can see it is the docker-...
0
votes
1
answer
166
views
QGIS server href links point to a URL containing the docker network name instead of keeping its base value
I have a QGIS server (using https://github.com/camptocamp/docker-qgis-server) project to serve some data using OGC API - Features.
It's working properly at a new /wfs3/ endpoint in the nginx ...
0
votes
1
answer
687
views
Docker ogr2ogr & ogrinfo .shp shapefile "Unable to open datasource"
I am using current gdal docker image osgeo/gdal:ubuntu-full-3.4.1 to display metadata from a shapefile.
After multiple failed attempts of failed installation of GDAL 3.4 on Ubuntu 20.10 I am now using ...
2
votes
0
answers
280
views
OSRM Isochrone - straight/square edges
I am calculating 1 hour cycling distance using osrmIsochrone in R and Docker. I have noticed that the polygons have square/straight edges. (see below example)
Increasing the res even to high values (...
0
votes
1
answer
213
views
GeoServer Docker - Data loss
I deployed a GeoServer image on Docker and I'm encountering a problem whenever the pod restarts. Every time the pod restarts, the workspace and datastore get deleted although the data in the database ...
1
vote
1
answer
504
views
QGIS server connection times out when trying to reach the /wfs3/collections endpoint
This is the landing page of a QGIS server instance (camptocamp/qgis-server) which connects to a containerized PostGIS database to serve some vector data using the "OGC API - Features" (aka ...
3
votes
0
answers
651
views
Why isn't there an official docker image for QGIS server, i.e. released by QGIS.org [closed]
As of November 21, 2021, the top 3 G..gle results when searching for "docker hub qgis server" are:
kartoza/qgis-server
camptocamp(qgis-server
openquake/qgis-server
There is also a nice ...
5
votes
1
answer
1k
views
Running QGIS GUI in Docker Container
I am trying to create container and load QGIS GUI from qgis/qgis docker image. But unfortunately I am faced with this error on running the following command
C:\Users\spa> docker run --rm -it -e ...
1
vote
0
answers
60
views
Getting started with deegree using Docker [closed]
I'm trying to do the Getting Started tutorial using docker, but I can not import any workspaces (in tutorial step 3.1.1)
I installed the deegree server by the following steps:
Installed Docker for ...
0
votes
0
answers
428
views
Docker container for QGIS Server with PostgreSQL database
As of now, we are using the QGIS locally to inspect the PostgreSQL data.
We need to set up the docker container together with the PostgreSQL database. I have created a docker-compose file for this ...
4
votes
1
answer
106
views
QGIS PDF export SVG display issues within container
I'm working on an automated PDF export from a QGIS layout. The export is scripted and works as expected on my development machine.
However, in order to integrate with a CI pipeline I need the process ...