Questions tagged [docker]

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

Docker is an open-source engine that automates the deployment of any application as a lightweight, portable, self-sufficient container that will run virtually anywhere.

Docker containers can encapsulate any payload, and will run consistently on and between virtually any server. The same container that a developer builds and tests on a laptop will run at scale, in production*, on VMs, bare-metal servers, OpenStack clusters, public instances, or combinations of the above.

Origin: http://www.docker.io/learn_more/

120 questions
55
votes
4 answers

Are the development benefits of using Docker negated when using Java compared to other languages closer to Unix binaries?

I had a friend who said: Docker is amazing. You can use it to replicate production and all its quirks on your local machine. Then you can deploy that instance straight through all the staging workflows super-quick. Now this would be true if the…
hawkeye
  • 4,819
  • 3
  • 24
  • 35
45
votes
5 answers

What is the difference between a library and a dependency?

In this docker beginner video its explained, that different stacks may depend on different libraries and dependencies and that this can be handled with Docker. However, I don't get what the difference should be between a library and a dependency. As…
Adam
  • 577
  • 1
  • 4
  • 9
31
votes
4 answers

Should I include tests in Docker image?

When it comes to tests, I can think of two options: Put both test and application in one image. Include only application code in the image. Create a test-specific container that builds after the main image and adds some layers to it (test code,…
lfk
  • 419
  • 1
  • 4
  • 4
15
votes
2 answers

Managing private NPM packages and CI/CD

At work, we have an application that is run directly on dev machines, but deployed in Docker swarms (a QA swarm and production swarm). The code and CI/CD pipelines are all in GitLab CE. It uses several private, internal NPM packages. We refer to…
15
votes
3 answers

best way to install local package into docker image

I have a python package that I wrote and I want to use it within multiple docker builds. However, I can't just install my local package situated outside of Dockerfile folder. And I don't want to copy the package into multiple projects. So how do I…
Roman
  • 321
  • 1
  • 3
  • 11
13
votes
5 answers

Docker: One container per database?

I am currently researching approaches for moving our application to Docker containers and stumbled upon a question to which I could not find a clear answer. Our application has several separate databases that are currently hosted in one database…
chrischu
  • 238
  • 2
  • 5
13
votes
3 answers

Are there benefits to running my development environment in a Docker container?

I develop primarily using Visual Studio on Windows. The problem is that after a while Windows gets bogged down and I'm faced with needing to reinstall Windows. Similarly switching to new machines is a problem. Reinstalling Windows is painful…
Jim W
  • 241
  • 1
  • 6
13
votes
2 answers

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 advantages and disadvantages (my opinion, according to…
8
votes
9 answers

Would we need Docker if applications were better behaved?

A well-written program will be configurable. It will have a configuration file or database which specifies where to look for files, which network ports to open etc. An Operating System lets many programs run together at the same time. It can…
8
votes
1 answer

Building C++ apps with Docker: how to deal with dynamic linking?

I have a C++ project, cloned from GitHub, which I'd like to build with a Docker image (a customized Debian stable). The image contains the usual tools for compiling C++ apps plus all the dependencies required by the project. My ideal workflow would…
Ignorant
  • 357
  • 4
  • 9
8
votes
1 answer

What are the reasons to use docker in your software development process if you're not using it in production?

Docker has a lot of potential to solve problems in my workplace in a large team (100) of software developers and it's use to solve problems in my workplace. This includes: Having a cluster of Docker Hosts that you can run jobs on Having CI agents…
hawkeye
  • 4,819
  • 3
  • 24
  • 35
8
votes
2 answers

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 that if it performs a responsibility (down to the…
Darren
  • 191
  • 5
8
votes
2 answers

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 (mostly for testing for now), but I'm unsure what would…
radai
  • 193
  • 1
  • 9
7
votes
2 answers

Should Docker be used in a Windows Production environment?

As my team's microservice architecture grows, as does the pain of manually deploying each individual service in the application. I've played with Docker before and am now learning to leverage the power of building images with CI, docker-compose,…
7
votes
1 answer

Are Docker images tied to CPU architectures?

Linux Onlyoffice Docker scripts are available for download. Are docker containers tied to a particular CPU architecture (IA64 vs ARM)? I would like to run Onlyoffice on an ARM platform (Raspbery Pi 4 or similar SBC computer).
gatorback
  • 217
  • 2
  • 5
1
2 3 4 5 6 7 8