Docker is an open-source project to easily create lightweight, portable, self-sufficient containers from any application.

learn more… | top users | synonyms

0
votes
0answers
75 views

Why should I use a Dockerfile instead of a batch script?

I'm new to Docker and feeling my way around. My plan is to build a typical web app using Nginx+Rails+Postgress, all of which will be in the one container. I'm not (currently) doing anything complex ...
1
vote
0answers
60 views

Should mongoDB be run in a cluster?

I'm trying to implement an architecture that's similar to the coreos's production architecture (shown below) Should I run the database as a central service or one or more of the workers? I figured ...
0
votes
1answer
25 views

When deploying a production app using docker, should I still use volumes or should I use add in the dockerfile?

I've been working on this little rails app with docker for a while and I'm finally ready to move it into production but I'm not sure what the best practice is for deploying a Docker app. When ...
2
votes
1answer
63 views

Library OSes vs Unikernels

My understanding of a Hypervisor & Virtual Machines is that the hypervisor is a program (either running on top of a host OS, or running bare metal as the host) that leverages binary-compatible ...
1
vote
2answers
108 views

Virtual machines versus containers, what use cases are suited to each? [closed]

I hear a fair amount of people using Docker these days, and I am wondering where they execl compared to virtual machines, and when a virtual machine would be a more suitable choice.
4
votes
2answers
2k views

docker-izing a classical db-based webapp - single or multiple containers?

I have a classic Java webapp. It is composed of a database (PostgreSQL), a servlet container (Tomcat) and my code (deployed on Tomcat as a *.war file). I want to package/deploy it using Docker ...
4
votes
1answer
242 views

Continuous Integration using Docker

One of the main advantages of Docker is the isolated environment it brings, and I want to leverage that advantage in my continuous integration workflow. A "normal" CI workflow goes something like ...
7
votes
1answer
474 views

Doesn't dockerfile initial configuration defeat one of the key arguments of docker?

I'm very excited about Docker, if you're a developer in a big project you've suffered too much at the machine hands of environments and multi-platforms. One of the key selling points of Docker is ...