cannot create container for service lms

376 views
Skip to first unread message

tonyconnection

unread,
May 14, 2018, 9:20:49 AM5/14/18
to Open edX operations
Hi, I followed instructions from https://github.com/edx/devstack and put the project under /Users/username/Documents/openedx/
I successfully brought up openedx on one Mac. However, I ran into the following errors from "make dev.provision" on another Mac

+ ./provision-lms.sh
++ apps=(lms studio)
++ ./load-db.sh edxapp
Loading the edxapp database...
Finished loading the edxapp database!
++ ./load-db.sh edxapp_csmh
Loading the edxapp_csmh database...
Finished loading the edxapp_csmh database!
++ for app in ‘“${apps[@]}“’
++ docker-compose -f docker-compose.yml -f docker-compose-host.yml up -d lms
edx.devstack.mongo is up-to-date
Recreating edx.devstack.devpi
edx.devstack.mysql is up-to-date
Recreating edx.devstack.memcached
Creating edx.devstack.lms

ERROR: for lms  Cannot create container for service lms: invalid bind mount spec “/Users/username/Documents/openedx/src:/edx/src:cached”: invalid mode: cached
ERROR: Encountered errors while bringing up the project.
make: *** [dev.provision.run] Error 1

Please shed some light on me about how to solve the problem.
Thank you!

Jeremy Bowman

unread,
May 14, 2018, 3:44:13 PM5/14/18
to opene...@googlegroups.com
You may need to upgrade your Docker installation; the "cached" mode was added in Docker CE 17.04, and devstack requires 17.06 or above for other reasons.  See https://github.com/edx/devstack/#prerequisites for detailed requirements.

--
You received this message because you are subscribed to the Google Groups "Open edX operations" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openedx-ops+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openedx-ops/07335f26-3a2b-4bf2-8e9b-d2e288e30209%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Jeremy Bowman
Principal Software Engineer
edX
141 Portland St.
Cambridge, MA 02139
Reply all
Reply to author
Forward
0 new messages