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

Support Docker volumes #87

Open
vincenzobaz opened this issue Oct 14, 2020 · 0 comments
Open

Support Docker volumes #87

vincenzobaz opened this issue Oct 14, 2020 · 0 comments

Comments

@vincenzobaz
Copy link

When I try to use a Docker volume name as argument for grade local or for inspect -d I receive the error

courseraprogramming inspect: error: argument -d/--submission: XX is not a directory
courseraprogramming grade local: error: argument dir: XX is not a directory

This is a limitation when CI jobs are executed inside containers.

docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock -v VOLUME:/subz ci-image /bin/ash
docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock -v VOLUME:/subz courseraprogramming grade local 8f0bcd3e9eb8 VOLUME # error
docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock -v VOLUME:/subz courseraprogramming grade local 8f0bcd3e9eb8 /subz # files are nout mounted
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

1 participant