Document running demo in Docker
robmarkcole opened this issue · 3 comments
robmarkcole commented
I needed to update permissions:
~/iris chmod 777 /teamspace/studios/this_studio/iris/demo
Then run:
iris docker run -p 5000:5000 -v /teamspace/studios/this_studio/iris/demo:/demo/ --rm -it iris demo
However the app is not available. I assume this is the correct port, but the docs show using port 80, which is also unavailable
aliFrancis commented
Difficult to debug this one on my end. Did you end up running it outside of a Docker? Which port did you use in the iris config?
robmarkcole commented
Yes currently running outside docker on a local server in an venv. Will come back to this if I try docker again
robmarkcole commented
Had another attempt building on M1 Mac, error:
=> => transferring context: 11.07kB 0.0s
=> ERROR [2/8] RUN apt-get update --fix-missing 3.1s
------
> [2/8] RUN apt-get update --fix-missing:
0.844 Get:1 http://deb.debian.org/debian buster InRelease [122 kB]
1.200 Get:2 http://deb.debian.org/debian-security buster/updates InRelease [34.8 kB]
1.359 Get:3 http://deb.debian.org/debian buster-updates InRelease [56.6 kB]
1.720 Err:1 http://deb.debian.org/debian buster InRelease
1.720 At least one invalid signature was encountered.
2.258 Err:2 http://deb.debian.org/debian-security buster/updates InRelease
2.258 At least one invalid signature was encountered.
2.807 Err:3 http://deb.debian.org/debian buster-updates InRelease
2.807 At least one invalid signature was encountered.
2.844 Reading package lists...
2.945 W: GPG error: http://deb.debian.org/debian buster InRelease: At least one invalid signature was encountered.
2.945 E: The repository 'http://deb.debian.org/debian buster InRelease' is not signed.
2.945 W: GPG error: http://deb.debian.org/debian-security buster/updates InRelease: At least one invalid signature was encountered.
2.945 E: The repository 'http://deb.debian.org/debian-security buster/updates InRelease' is not signed.
2.945 W: GPG error: http://deb.debian.org/debian buster-updates InRelease: At least one invalid signature was encountered.
2.946 E: The repository 'http://deb.debian.org/debian buster-updates InRelease' is not signed.
------
Dockerfile:5
--------------------
3 | ENV DEBIAN_FRONTEND=noninteractive
4 |
5 | >>> RUN apt-get update --fix-missing
6 |
7 | RUN apt-get update && apt-get install -y gdal-bin libgdal-dev
--------------------
ERROR: failed to solve: process "/bin/sh -c apt-get update --fix-missing" did not complete successfully: exit code: 100