- **status**: review --> in-progress
- **Reviewer**: Dave Brondsema
- **Comment**:

I had a few interruptions that caused me to rebuild the 'web' image.  (Two were 
the Virtualbox VM got into "aborted" state, one was `pip install` locked up 
when my laptop hibernated).  Running the 'build' step more than once seemed to 
take a while.  Is there a way to save that image?  Perhaps related: In 
`docker-compose.yml` there is a "allura_web" image referenced a few times.  I 
assume that comes from the "web" declaration in same file?

I got this error after 'web' was built but the 'pip' command was incomplete.  
The container was stopped and I couldn't start it, forcing me to rebuild.  This 
might be a corner case, not sure, but happened to me.

~~~~
$ docker-compose up -d
Recreating allura_outmail_1...
Recreating allura_mongo_1...
Recreating allura_solr_1...
Creating allura_web_1...
Creating allura_taskd_1...
Cannot start container 
9f27208cb8ed39ef0afe3ad153343dbaf2e09d6d2489298e9eea520a2ab4c4e5: [8] System 
error: exec: "paster": executable file not found in $PATH
~~~~

And then I got stuck on this error.  I didn't try to hard to fix it, but this 
is where I left off my testing.

~~~~
Cannot start container 
1dfff66d6f2fceadca9b7f6e257f5fb9bbea94076fa8b599bc312c42f4fc7bdf: Cannot link 
to a non running container: /allura_mongo_1 AS /allura_web_run_6/mongo

mongo_1 | 2015-06-08T17:02:10.003+0000 [initandlisten] ERROR: Insufficient free 
space for journal files
mongo_1 | 2015-06-08T17:02:10.003+0000 [initandlisten] Please make at least 
3379MB available in /data/db/journal or use --smallfiles
~~~~



---

** [tickets:#7806] Create a docker image for Allura**

**Status:** in-progress
**Milestone:** unreleased
**Labels:** getting-started sf-current sf-4 
**Created:** Fri Dec 05, 2014 07:02 PM UTC by Dave Brondsema
**Last Updated:** Mon Jun 01, 2015 03:54 PM UTC
**Owner:** Igor Bondarenko

http://blog.dscpl.com.au/2014/12/hosting-python-wsgi-applications-using.html 
has a good starting point.

Would be nice to support development config (supplanting our Vagrant image) as 
well as a production-ready config (for which we don't have any good docs/images 
currently)


---

Sent from forge-allura.apache.org because [email protected] is subscribed 
to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.

Reply via email to