Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document running demo in Docker #38

Open
robmarkcole opened this issue Sep 26, 2023 · 3 comments
Open

Document running demo in Docker #38

robmarkcole opened this issue Sep 26, 2023 · 3 comments

Comments

@robmarkcole
Copy link
Contributor

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
Copy link
Collaborator

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
Copy link
Contributor Author

Yes currently running outside docker on a local server in an venv. Will come back to this if I try docker again

@robmarkcole
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants