Skip to main content

Questions tagged [docker]

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

0 votes
0 answers
91 views

Turborepo: Docker dev-container (hot-reload and breakpoints) for Turborepo-project [closed]

I need a guide to make dev-container for my monorepo. I use Turborepo with two applications ("api" and "web") and one package "shared" between them: my-project/ |-- apps/ ...
Yevhen Diulin's user avatar
0 votes
1 answer
141 views

How to test load balanced ASP Core based website?

I have a simple ASP Core based website that is connected to my local SQL Server Express, some of the third party plugins used, do have reliance on other products i.e. scheduling timers. I would like ...
KeithViking's user avatar
2 votes
1 answer
784 views

Approach to software testing with docker

When discussing the testing approach, we had disagreements. We develop software that we package into an image and distribute. We have two suggestions for testing: Build a separate image with a test ...
Vladimir's user avatar
1 vote
1 answer
143 views

How do you build a high availability, horizontally scaling application [closed]

I've designed an application, but I've had problems with scaling. Initially, this application was a simple docker compose file, that ran on a decently powerful VM. Containerization is great, but the ...
Anonyo Noor's user avatar
-2 votes
1 answer
195 views

why we still have Windows Containers when Docker Desktop in Windows still uses a Linux VM?

we know that Docker on Windows runs a virtual machine in the background so that may seem like you are able to run Linux Containers on Windows, but behind the scenes Docker for Windows is actually just ...
user22155685's user avatar
0 votes
1 answer
293 views

Should build stage be in Dockerfile?

I personally put build stage in Dockerfile. (Using multi-stage feature in Dockerfile) But in my company, we have dev containers where all dependencies are installed and managed. So in our product's ...
Guest-01's user avatar
  • 121
0 votes
1 answer
460 views

Should I create a docker image for production from my dev environment?

A few years ago, I wrote a simple web application in PHP without a database. Until now, it was running on a basic Apache server. I'm not a professional developer; I'm more on the system side. I haven'...
timothepoznanski's user avatar
0 votes
0 answers
80 views

How should I organize build instructions for third-party packages?

In my projects I have several third-party Python packages which I need to build from source (because there are no .whl packages published for the versions+platforms I need). Currently these packages ...
oliver's user avatar
  • 229
2 votes
1 answer
222 views

web-dev: how to restrict access to costly backend API to authenticated clients only

I've created a small prototype browser plugin and am now thinking about making it accessible to the public. This brings up an important question about gatekeeping API access and the right way to ...
lhk's user avatar
  • 446
3 votes
3 answers
768 views

What exactly is a REST API in reference to Docker?

AFAIK, APIs are a means by which two computers communicate with each other. What exactly is REST API? My confusion arises from this figure where a docker cli which is on the same host as the docker ...
zeeshanseikh's user avatar
0 votes
0 answers
127 views

Data producers and consumers: How to connect MySQL with microservices?

Consider a web-app with 5 micro-services deployed with Docker, and a MySQL container dedicated to storing data produced from other services (shared-database pattern). How should I make the connection ...
JrCaspian's user avatar
  • 125
0 votes
1 answer
1k views

I want my Docker container to use more of the host's CPU resources

I have a DigitalOcean droplet on which I have deployed a Docker container (Docker version: 20.10.14), but my app is sometimes slow, therefore I would like to allocate more resources to it. The droplet ...
samdouble's user avatar
  • 243
2 votes
1 answer
4k views

How should I handle docker containers and SSL certificates

Background We have a number of backend api's that do work; some connect to equipment, some store data, etc. The original setup was each service was a native c# asp.net 6 minimal api running on a ...
Felix Castor's user avatar
-1 votes
1 answer
1k views

What is the recommended approach for loading a Java Keystore from memory in a SpringBoot application running in a Docker container?

I am looking for a solution to load a Java Keystore dynamically from memory instead of from a file on disk. Can you suggest any libraries or best practices for this scenario in the context of Java, ...
goodspeed's user avatar
  • 167
1 vote
4 answers
377 views

Storing both a compiled service for a Docker container as well as the container in a repository. Good practice, bad practice or no precedent?

This has erupted from quite a turbulent meeting between two senior developers, a lead developer and an engineering lead, and after 90mins reached no resolution. We create Spring Boot Java services ...
Crazy Dino's user avatar

15 30 50 per page
1
2 3 4 5
9