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.
docker
138,849
questions
0
votes
0
answers
9
views
Custom Github Action - Access Github Secrets / environment variable
I'm creating a custom Github Action. I'd like to share this action with others. The issue I'm facing is that within the action code I need to use an API.
I'd like to be able to have my code in the ...
0
votes
1
answer
17
views
Starting process in docker separate from entrypoint
I am using a docker image whose base image is bookworm-slim. I think the image doesn't have a way to queue up startup services (perhaps I have to install that as well?), but I want to run CRON ...
0
votes
0
answers
20
views
How can i know why it's not showing the database in pgadmin?
I totally sure that in docker postgres is working well because when i make this query
irb(main):001> User.all
i am getting this result:
User Load (4.8ms) SELECT "users".* FROM "...
0
votes
0
answers
10
views
Azure Machine Learning Studio integration with rocker Rstudio: Git tab is not appearing for an Rproject set up with GitHub repository
I am running and Rproject with GitHub version control in Rstudio within a compute instance in Azure Machine Learning Studio. The Rproject was previously set up outside of Azure MLS and is running ...
0
votes
0
answers
7
views
does vault agent generate approle secret id after it expire?
I inject the role ID and secret ID of Hashicorp vault using Jenkins during the build stage of my app docker image.
Then, the vault agent read the role ID and secret ID connect to vault and deliver ...
-1
votes
0
answers
19
views
Error when starting a minecraft server in a container in docker [closed]
I was trying to start my minecraft server, hosted on the free plan of nether hosting, i put plugins etc. Then i go to console and i try to start my server
[NY-01-F Daemon]: Checking server disk space ...
0
votes
0
answers
15
views
My laravel project running with docker in Ubuntu does not see images [closed]
I am developing a laravel project using docker and I have a home/user/projects/myProject project in ubuntu to make this project faster. The problem is that my images are not showing up in "...
0
votes
0
answers
26
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 ...
0
votes
1
answer
17
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: ...
0
votes
1
answer
11
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 ...
0
votes
1
answer
19
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
...
0
votes
0
answers
18
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-...
0
votes
0
answers
18
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,...
0
votes
0
answers
18
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':...
1
vote
1
answer
23
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&...
1
vote
0
answers
38
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 ...
-2
votes
0
answers
11
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 ...
0
votes
0
answers
26
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
...
0
votes
0
answers
11
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 `(...
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 ...
0
votes
0
answers
11
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 > ...
0
votes
0
answers
19
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 ...
0
votes
0
answers
26
views
Unable to update Node.js in pre-built Docker container
I have a project that's inside a pre-built docker container which uses Node v14. I have been let know that the container was pulled like this a long time ago: docker pull node:20-alpine.. but not much ...
-1
votes
0
answers
18
views
Rust Actix-Web docker container not shows up logs
I am creating an API server using the Rust actix-web framework. I am creating and checking logs (using log4rs) in the local environment without any problems. After Dockerizing, Docker runs without a ...
0
votes
0
answers
30
views
how to test localhost API from docker container
I am a little new to docker and I trying to figure out how to use docker compose. So far I have only created a test API called "http://localhost:3000/test" which would just return a "...
0
votes
1
answer
34
views
Not possible to connect to redis server
I am running a .NET application inside a Docker container and trying to connect it to an Azure Redis Cache instance. While I can successfully connect to the Redis instance using redis-cli from within ...
0
votes
2
answers
29
views
Connecting to local mysql server from within a docker container [duplicate]
I'm running a go app locally (MacOS Sonoma) that connects to a local mysql server. This works fine when I build the app and run it from the command line. When I create a container and run it - all ...
0
votes
0
answers
23
views
Unable to use implicit IAM/role-based auth when using Boto3 inside Docker on EC2
I've run into a frustrating edge case that I'm now having to either introduce custom logic to work around or solve properly.
I'm running a Django application inside a Docker container on EC2. I'm ...
1
vote
0
answers
22
views
Laravel Sail MySQL Connection Refused - Docker Setup Issue
Description:
I am currently setting up a Laravel project using Docker and Laravel Sail. I am facing issues connecting to the MySQL service from the Laravel application. The error message indicates ...
0
votes
1
answer
24
views
How to automatically configure Docker config in Gitlab CI/CD variables?
I have some Docker components and I want to store the credentials (Docker config) in a project variable in the CI/CD settings.
In the CI/CD variables settings I can set the raw config text as a ...