apluslms/aplus-manual

docker-up.sh does not work

Closed this issue · 2 comments

Hello there,

I wanted to test your neat project, but it fails to start here. My machine is a Debian box, 'testing' release. Here are the logs:

mquinson@nouzonket:~/Code/aplus-course-template$ ./docker-up.sh
  Press q, ESC or ^C to quit.
Creating network "aplus_default" with the default driver
Pulling grader (apluslms/run-mooc-grader:latest)...
latest: Pulling from apluslms/run-mooc-grader
e7bb522d92ff: Pull complete
e5af7daccc64: Pull complete
e16d4ec26a02: Pull complete
7e50999ea01d: Pull complete
829bf9cd8bc1: Pull complete
292581376a8b: Pull complete
6a545e216c5f: Pull complete
Digest: sha256:e08b21e6a4cfa97f4514e957b395ee4b6d435251b0d59f3b8451dc6fc3f9ec79
Status: Downloaded newer image for apluslms/run-mooc-grader:latest
Pulling plus (apluslms/run-aplus-front:latest)...
latest: Pulling from apluslms/run-aplus-front
e7bb522d92ff: Already exists
e5af7daccc64: Already exists
e576b06c66bc: Pull complete
46fa73b8e617: Pull complete
1420d3a1247d: Pull complete
0846836f5f81: Pull complete
Digest: sha256:9458ade2c0fcfcea9b19e07525284ee594074ed0dba35ef5da462cd40c7d76ac
Status: Downloaded newer image for apluslms/run-aplus-front:latest
Creating aplus_grader_1 ... 
Creating aplus_grader_1 ... error

ERROR: for aplus_grader_1  Cannot start service grader: oci runtime error: container_linux.go:247: starting container process caused "process_linux.go:359: container init caused \"rootfs_linux.go:54: mounting \\\"cgroup\\\" to rootfs \\\"/var/lib/docker/overlay2/a70565730681f84b2477afc73342dc1f398f8bca50b979da9fb06d89d32c5431/merged\\\" at \\\"/sys/fs/cgroup\\\" caused \\\"no subsystem for mount\\\"\""


ERROR: for grader  Cannot start service grader: oci runtime error: container_linux.go:247: starting container process caused "process_linux.go:359: container init caused \"rootfs_linux.go:54: mounting \\\"cgroup\\\" to rootfs \\\"/var/lib/docker/overlay2/a70565730681f84b2477afc73342dc1f398f8bca50b979da9fb06d89d32c5431/merged\\\" at \\\"/sys/fs/cgroup\\\" caused \\\"no subsystem for mount\\\"\""

ERROR: Encountered errors while bringing up the project.
./docker-up.sh: ligne 31 : kill: (17227) - Aucun processus de ce type
Removing aplus_grader_1 ... done
Removing network aplus_default

That's my very first run in this directory, so there is no previous state. As you can see, it downloaded all the images fresh. I get the very same error if I rerun the command.

Thanks for this very promising project,
Mt

Test that your local system supports docker correctly. Based on the error, it could be you are missing something related to cgroups. Debian sid includes that as it was already in previous stable release.

So, test that docker hello world works: https://hub.docker.com/_/hello-world/ . I.e. run docker run hello-world

You are right, the problem seems to be on my side. I'll fix it up and I come back afterward.

Sorry for the noise.