Closed jancelin closed 9 years ago
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.
@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
I have updated the README with above notes for those that follow.
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?
Sorry I'm a newsbee in docker but I can't run your docker-qgis-server container.
and if I change port docker create a container but his statut is exited:
For exemple I have docker ui and It works fine: