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

Container cannot access the internet #33

Open
scott2b opened this issue Mar 4, 2022 · 1 comment
Open

Container cannot access the internet #33

scott2b opened this issue Mar 4, 2022 · 1 comment

Comments

@scott2b
Copy link

scott2b commented Mar 4, 2022

I am not finding a mechanism to allow access to the internet from within the container during grading. This is problematic for the courses I build, which teach things like web API usage.

Perhaps there is a configuration I am just not seeing. However, this seems likely to be related to the hard-coding of network mode to 'none' in the Docker client here:

@sashi-coursera
Copy link
Contributor

Hi Scott, Thank you for reaching out. Unfortunately coursera_autograder is not an exact replication of how it is being run on coursera grading infrastructure. Also access to the internet is allowed only for certain domains in production. New domains will be added after reviewing the request.

We will prioritize to test/fix this flow in coursera_autograder, which might not happen soon. Please feel free to help us with a PR and test samples, and we will be able to review and merge accordingly. Please let us know if you have any follow up comments.

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