monkinetic: Docker, Openstack, testing followup http://t.co/UFiA5qnOgp
Entries matching ''
← first ← previous page 124 of 574 next → last →
Docker, Openstack, testing followup
Last week I wrote about an issue I was having with Docker and running mysql (among other things):
>The issue I'm on right now is that mysql-server won't start. I tried starting (and restarting) it manually in my Dockerfile with RUN service mysql start after mysql is installed but always get a policy-rc.d error.
What I finally learned (after some research and some helpful folks in the #docker IRC) is that Docker is really designed to run a single process in a limited jail-like environment. It's not a virtual machine, which is why containers are smaller and way faster to start.
If you need to run an app with access to a variety of processes, it seems that current best practice is to boot multiple docker containers running the various services, and use docker container linking to have the services talk to each other.
As for my particular use case, I decided that I did not need a complete Openstack install in order to run my unit tests. I stripped back my provisioning script to only install the base debian packages and the Openstack Dashboard packages, which installs the dashboard unit testing frameworks and mock data that my tests depend on. I can then run my tests and pull out the results for processing.
RT @iamdevloper: Wipe a developer's memory and show them code they just wrote, and they would say it's the worst code they've ever seen.
ok, is the @atpfm theme song available on the iTunes store or something? Cause I’d listen the hell out of that song.
@lmorchard I had to quit cold-turkey a couple of months ago. Hugely awesome game. If I ever get back in ill look you up.
← first ← previous page 124 of 574 next → last →