Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [docker]

For questions about building and running Docker containers. DOCKER QUESTIONS MUST BE SPECIFICALLY RELATED TO SOFTWARE DEVELOPMENT. Suitable topics include Dockerfiles, Docker Compose, and architecture. As a rule of thumb, if your question is about something happening inside the container, it's probably on-topic here; if it's outside the container, it is probably off-topic.

0 votes
0 answers
15 views

Why is the .git Folder Not Copied and How Can I Fix the Error in My Dockerfile?

I created a Dockerfile to build my Angular application with Nx: FROM node:alpine3.19 AS builder WORKDIR /app RUN apk update && apk add git COPY .git .git COPY yarn.lock package.json .npmrc ...
Jon You's user avatar
  • 59
0 votes
1 answer
15 views

Authentication failed while connecting to docker-compose mongodb via springboot application

docker-compose.yml version: '4' services: mongodb: image: mongo:7.0.5 container_name: mongodb ports: - "27017:27017" environment: MONGO_INITDB_ROOT_USERNAME: ...
M Hari's user avatar
  • 1
0 votes
1 answer
9 views

Piping tar archive to host fails on docker run but works on docker exec

I'm trying to get some libraries out of a Docker image, since I temporarily need it in another environment. Since I need symlinks to persist through this, I'm trying to tar the directory and pipe it ...
Max N.'s user avatar
  • 1,113
0 votes
1 answer
16 views

Invalid credentials for docker postgress image

I am creating two databases: product, and test one: version: '3.8' services: db: image: postgres:13-alpine environment: POSTGRES_USER: myuser POSTGRES_PASSWORD: mypassword ...
Johnyb's user avatar
  • 1,280
0 votes
0 answers
14 views

Best way to set folder permissions in docker container after every restart?

My cluster gets torn down at the end of every day. It looks like the base mounted folder for my apllication (/ni) has its permissions updated for an owner of local.adm. Instead, I need this to be my-...
Phant's user avatar
  • 83
0 votes
0 answers
15 views

Azure Pipeline timeout with testcontainers

I have a similar issue as this: Testcontainers: Azure pipeline test stage reach timeout of 1hour I would have commented there but I can't comment because I don't have 50 reputation. It's the same case,...
davor300's user avatar
0 votes
0 answers
17 views

I can't open server in 0.0.0.0 instead it is working in 127.0.0.1 in while using Docker , Django and Postgres [duplicate]

I am a newbie to this. settings.py file is: DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql', 'NAME': 'postgres', 'USER': 'postgres', 'PASSWORD':...
menpj's user avatar
  • 9
1 vote
1 answer
16 views

mvn verify doesnt start docker-compose

I want to start docker-compose upon integration tests e.g mvn verify command. I am using: <dependency> <groupId>org.springframework.boot</groupId> <artifactId&...
Darlyn's user avatar
  • 4,872
0 votes
0 answers
32 views

Unable to access server running in k8s pod from WSL host with docker-desktop installation

I'm running docker-desktop with WSL2.0 ubuntu on windows. I created a k8s deployment in the wsl ubuntu host. The deployment has one pod where I'm running a simple server program(runs forever, accepts ...
AmiyaG's user avatar
  • 172
-2 votes
0 answers
9 views

Displaying host machine info with docker container

I have nextjs app and im using nodejs os to gather system info about totalram cpu etc. How i can make it work with docker cause if i run my app with docker compose on my app ui i see ram allocated to ...
Teeco's user avatar
  • 11
0 votes
0 answers
16 views

Error response from daemon: error while creating mount source path '/var/www/todo/todo-app': mkdir /var/www: read-only file system

todo-app/docker-compose.yml version: '3.8' services: laravel: build: context: . dockerfile: Dockerfile ports: - "8080:8080" env_file: - .env ...
Fil's user avatar
  • 8,645
0 votes
0 answers
8 views

How to analize error and stacktrace in unmanaged code in net core docker container

I have floating bug that sometimes abort my net core 6 service in docker container. Last logs that I see: [2024-07-26 08:23:57.467 +00:00 INF] ...my logs dotnet: malloc.c:2379: sysmalloc: Assertion `(...
vitm's user avatar
  • 493
0 votes
0 answers
11 views

Nestjs serverless in lambda size limit

I have an nest js api running locally then i have decided to deploy it on the aws lambda but there is a limit of 250mb unzipped then i tried deploying using ecr with docker image container and webpack ...
Ragul Surya's user avatar
0 votes
0 answers
9 views

Thingsboard sequential updates on docker - how do I specify the intermediate versions

I’m running Thingsboard CE 3.6.1 using docker on Ubuntu. I’d like to upgrade to a more recent version. Previous questions have indicated that sequential upgrades are preferable (3.6.1 > 3.6.2 > ...
tomtomnz's user avatar
  • 187
0 votes
0 answers
18 views

Content not from webpack is served from '/app' directory (Docker / Webpack)

I'm using Webpack configuration with docker. Everything working well as development step. However this is not working for my preproduction and production step. The difference between these steps is ...
Srevinu's user avatar
  • 369

15 30 50 per page
1
2 3 4 5
15