Comments (4)
Hi @jancelin
Thanks for your issue report. There was an error in the Dockerfile. Can you do:
First get rid of old container and image
docker rm qgis-server
docker rmi docker-qgis-server
Rebuild the image (note the small name change):
docker build -t kartoza/qgis-server git://github.com/kartoza/qgis-server
Run the image:
docker run --name "qgis-server" -p 8081:80 -d -t kartoza/qgis-server
If you still have an issue starting it, please paste the output of docker logs qgis-server
into this ticket.
from docker-qgis-server.
@jancelin also note that you should mount the web volume so a better way of running is
docker run --name "qgis-server" -v <path_to_local_qgis_project_folder>:/web -p 8081:80 -d -t kartoza/qgis-server
Replace <path_to_local_qgis_project_folder> with an absolute path on your filesystem. That folder should contain the .qgs project files you want to publish and all the data should be relative to the project files and within the mounted volume. See https://github.com/kartoza/maps.kartoza.com for an example of a project layout that we use to power http://maps.kartoza.com
from docker-qgis-server.
I have updated the README with above notes for those that follow.
from docker-qgis-server.
I look a error on the git address. It don't works with github.com/kartoza/qgis-server and look fine with github.com/kartoza/docker-qgis-server
docker build -t kartoza/qgis-server git://github.com/kartoza/qgis-server
2014/08/28 08:40:26 Error trying to use git: exit status 128 (fatal: remote error:
Repository not found.
Initialized empty Git repository in /tmp/docker-build-git760597994/.git/
)
docker build -t kartoza/qgis-server git://github.com/kartoza/docker-qgis-server
Sending build context to Docker daemon 9.526 MB
Sending build context to Docker daemon
...
Ah thanks - sorry I was too vigorous with my removal of ``docker-`` :-) Did you get everything working now?
from docker-qgis-server.
Related Issues (17)
- QGIS server is not working with layers coming from the database HOT 6
- Add CORS by default in apache.conf HOT 3
- QGIS Server 3 HOT 4
- InvalidCRS Issue HOT 5
- <ServerException>Project file error</ServerException> HOT 1
- ServiceException code="InvalidCRS" (qgis-server:3.0.3) HOT 1
- QGIS Server Crashing with memory leak on Huge GeoJSON layer.
- Server Not Rendering ANY Font Labels
- server configuration error HOT 1
- Service configuration error
- QGIS Server vs ( LTR e 3.0) is not working with layers coming from the PostGis
- How do I update image to current 3.16?
- Use nginx instead of Apache HOT 1
- Integrate WPS HOT 1
- Error building image HOT 1
- The requested URL /cgi-bin/qgis_mapserv.fcgi was not found on this server. HOT 18
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-qgis-server.