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

learn more… | top users | synonyms

6
votes
1answer
150 views

How to wait for the execution of method and then exit?

I have a console application (dotnet core, ubuntu), that looks like following: void Main() { try { var job = new Job(); job.Start(); while(Console.ReadLine() != "quit"...
0
votes
0answers
25 views

How to connect your test server deployment and your source control branching?

Let's say you have a task oriented branching strategy : every one create a new branch from the main branch, dev the feature then merge this branch to the main when the feature is done (https://blog....
0
votes
1answer
36 views

Recommended way to organize and build multiple services for App Engine Flexible Environment with custom runtime

When deploying to Flexible Environment using the default runtime (e.g. python), we just need to specify different app.yaml files with different entrypoint: values. But what would the 'best practice' ...
6
votes
4answers
218 views

Is there a better way to break Java services down into containers

I'd like to decompose a number of Java REST services (WAR files) into individual container-ised "MicroServices" - so that I can scale services ondemand, insulate the applications, have loose couplings,...
4
votes
1answer
57 views

How to Implement Service Discovery for External Docker Swarm Clients

I have a question regarding a specific case with our product. Let's say I have two services; Service A and Service B. (The number of services varies from an installation to installation). They are ...
1
vote
1answer
71 views

How to properly create a local development environment based on a Docker based micro-service architecture?

So currently where I work we try to mimic our production environment as close as possible to our production environment. Our micro-services (APIs, listeners, data stores) are organized in the fashion ...
0
votes
0answers
64 views

Two processes in a single docker container or two services connecting to the same db?

I recently started moving a monolithic application to microservices architecture using docker containers. The general idea of the app is: scraping data -> format the data -> save the data to MySQL -...
-3
votes
2answers
65 views

Using Python to start up multiple programs simultaneously

I am attempting to write a python script that with remove some of the tedium of my everyday actions. Specifically, I always need to run Eclipse, Java VisualVM, and a docker container. I had planned ...
0
votes
1answer
189 views

Docker for fullstack developer [closed]

As Docker became a very popular tool I read a lot of information about it but I can't get - do I need it as single full-stack developer? I develop web application that has 2 backend services written ...
2
votes
1answer
397 views

Best way to deliver and deploy JEE application to client

I've worked for a few companies and even developed projects on my own - these projects were based on Java Enterprise Edition. Sometimes with Spring Framework involved, sometimes it was a pure JEE. ...
2
votes
1answer
500 views

Cross compiling Linux containers for embedded devices

I have recently been exposed to Docker and found it to be an excellent tool for making production deployments very less risky that what I was used to (coming from an embedded world, embedded as "Linux ...
3
votes
2answers
422 views

Docker, microservices and git workflow

We are a young company that's developing a web app in node.js with the microservice architecture. Actual development workflow: Each microservice is stored in a private repository Different ...
0
votes
0answers
119 views

Should/can a web crawler be a separate microservice?

I've never built anything using microservices and all the articles I can find are not very practical. I'm building a web application that relies on a web crawler to scrape data into a database, a ...
1
vote
2answers
64 views

Where to store standalone.xml and other files so it is acessible in my CI server?

I am fairly new to JavaEE, so I have some concepts still missing. I am learning Docker to use it in our DEV / CI Build environments. I could make it work on my machine. But for it to work in the CI ...
5
votes
2answers
1k views

Multi tenancy or multi instance?

I'm trying to build a web-based SaaS solution, and I hit a road where I'm not sure to use multi tenancy or multi instance. I will try to describe what I'm trying to achieve, and each approach ...
2
votes
1answer
372 views

What are the benefits of Docker? [duplicate]

Docker is becoming quite popular. I've used it as an end-user just 3 times, and it never worked as expected. But assuming it does work, can you please list some actual benefits? And contrast them with ...
3
votes
1answer
403 views

Can I fully automate Docker deployment of a .Net CoreCLR on a CI Server without installing Visual Studio?

I'm experimenting with the deployment of ASP.Net 5 CoreCLR apps to Linux Docker containers. Literally all the articles, posts, etc. I found involve using the Visual Studio GUI. On publish a PowerShell ...
2
votes
1answer
414 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
67 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
57 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 ...
3
votes
1answer
149 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 ...
0
votes
2answers
294 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.
5
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
2answers
369 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
499 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 ...