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
40
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: "/...
1
vote
0
answers
32
views
Downloading OpenNEX Datasets
Does anybody have a tutorial on how to download NASA NEX-GDDP downscaled GCMs dataset from http://opennex.planetos.com/ website as csv?
I´m not familiar with the use of Docker, containers, etc.
0
votes
1
answer
71
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
1
answer
56
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 ...
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 ...
0
votes
1
answer
53
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 ...
2
votes
1
answer
331
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
40
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 ...
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 ...
0
votes
1
answer
312
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 ...
0
votes
0
answers
52
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
53
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 ...
3
votes
1
answer
1k
views
GeoServer Docker - CORS error
I am using a GeoServer docker image from here and running a docker container on CentOS Linux. GeoServer Docker
I have mounted Geoserver data directory as external and able to successfully run the ...
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 ...
0
votes
1
answer
2k
views
Connection Error: Add PostGIS Database on Geoserver through Docker on Geonode:
I am using GeoNode with connection to Geoserver through Docker.(from here: https://github.com/GeoNode/geonode).
I am now trying to connect to a PostGIS database. I have indicated the host ip address ...
0
votes
0
answers
190
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 ./...
1
vote
1
answer
376
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
1
answer
215
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 ...
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
224
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, ...
5
votes
2
answers
2k
views
How to pre-configure GeoServer in docker image?
I am using GeoServer 2.16.0 docker image build by myself based on kartoza's dockerfile.
The only pre-configuration is done via environment files, e.g. geoserver.env:
ENABLE_JSONP=true ...
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
32
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
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 ...
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
1
answer
452
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
0
answers
255
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
94
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 ...
0
votes
1
answer
390
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
1
answer
819
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
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
92
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
81
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
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 ...
0
votes
1
answer
340
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
589
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
107
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 ...
2
votes
2
answers
2k
views
QGIS Server - Docker - Multiple Projects
I am currently trying to improve my companies server architecture with the help of Docker. I have successfully managed to run a docker container of this image: https://hub.docker.com/r/camptocamp/qgis-...
-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
195
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
75
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
120
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 \
...
3
votes
1
answer
644
views
Using qgis-server docker behind reverse proxy
We want to use qgis-server within docker behind a reverse proxy.
Now qgis-server is running and the get-capabilities works.
The problem is the host, which is given us by the get-capabilities. We get ...
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 ...