dsmurl / the-system-controller-4

This is the working code of the System Conroller V4 designed for grass roots industrial systems management.
GNU Affero General Public License v3.0
2 stars 1 forks source link

Nice Docker Container #22

Open dsmurl opened 9 years ago

dsmurl commented 9 years ago

Branch - NiceDockerContainer

It would be cool if this was as easy to deploy as possible and had a nice contained docker container as part of the deployment.

jjdevbiz commented 9 years ago

Started a dockerfile for sc4: https://github.com/jjdevbiz/docker-sc4

It fails to install some of the of pip packages, I tried on a few different images but it looks like some resource is missing. I'll have to figure it out when I have more time later. Pip errors shown here: https://gist.github.com/jjdevbiz/e7acb21bb554d7846c0f

jjdevbiz commented 9 years ago

Precursory googling of docker + raspberrypi/beaglebone seems to show success from others of installing docker on the respective devices using an arch linux image, but I surmise a debian image is acceptable as well. Will know for sure when I test on my local raspbian instance.

jjdevbiz commented 9 years ago

https://github.com/jjdevbiz/docker-sc4

All done, successfully can pull up localhost:8080 via browser with the image running.

I also added a VOLUME mount, you can attach it like so:

docker run -d -v /some/dir/:/home/sc4/thesystemcontroller4/ -p 8080:8080 sc4

dsmurl commented 9 years ago

That's awesome. Can I pull this into my code base somehow? I'll want it in the main repo that I reference on the page.

On Mon, Sep 14, 2015 at 11:27 PM, jjdevbiz notifications@github.com wrote:

https://github.com/jjdevbiz/docker-sc4

All done, successfully can pull of localhost:8080

I also added a VOLUME mount, you can attach it like so:

docker run -d -v /some/dir/:/home/sc4/thesystemcontroller4/ -p 8080:8080 sc4

— Reply to this email directly or view it on GitHub https://github.com/dsmurl/TheSystemController4/issues/22#issuecomment-140277572 .