Coder Social home page Coder Social logo

Comments (4)

timlinux avatar timlinux commented on June 9, 2024

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.

timlinux avatar timlinux commented on June 9, 2024

@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.

timlinux avatar timlinux commented on June 9, 2024

I have updated the README with above notes for those that follow.

from docker-qgis-server.

jancelin avatar jancelin commented on June 9, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.