• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Docker

Markbnj

Elite Member <br>Moderator Emeritus
Moderator
Anyone else messing with this tool? I dove into it today after having read a few things over the last few months. We're ramping up development on a new system and nailing down the architecture, and I wanted to see if Docker could deliver on its promise of packaging up a complete environment and all its dependencies in a lightweight container that we could pop over to a server.

I have to say I was kind of blown away. If I was running Linux as my main system this could probably replace VirtualBox for a lot of what I use VMs for now. It's so easy to spin up a container, and they start incredibly fast. Building a saucy 13.10 base image was four bash commands using debbootstrap. The longest wait was just pulling the binaries. Once the image is created a container can be started literally as fast as I can start Sublime Text. It might be faster 🙂.

I haven't figured everything out. Haven't gotten into dockerfiles at all yet. Haven't messed with external mount points. I did manage to get my container to launch with a user other than root, but I could not get .bashrc to execute and set that users environment up. That caused me some momentary consternation because I use .bashrc to set up virtualenv for Python development... and then it occurred to me that Docker basically makes virtualenv obsolete, so who cares? It would still be nice to get the user's init script to run, and it would be nice to run as something other than root inside the container. I know the issue is under discussion on the Google group.

All in all Docker is very cool software, and I can see myself using it for a lot of what I do. Not sure yet whether to rely on it for our production deployment. So if anyone has any insight or input on that specifically would love to hear it.
 
I'm currently using Vagrant to create VMs which I then provision with Chef. I've been thinking about switching from Vagrant to Docker.

Roughly the same concept though. I can deploy and setup a server instance with a single command.
 
I've been meaning to try it out on my next side project but been watching too much TV of late to get that project started 🙂

Hearing more reports of it working well is very promising though.
 
I'm planning to put it through it's paces a little more later this week. I have a server app that consists of a few python scripts that pull work from redis and write results back to it. They currently log to files but I'm going to change that to log into redis as well, and then install logstash and kibana. The idea is that I'll can this all up into a Docker appliance that will expose the redis and kibana ports to the host. So I should just be able to launch the container, then connect to the local web port to view and query log results, as well as connect to redis to monitor the output queues.
 
Back
Top