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,691
questions
0
votes
0
answers
4
views
Visual Studio Remote development "attach visual studio code" always connecting to dev container as root?
I have a docker container running and I attempt to use the docker extension to "attach visual studio code" to the container. This always connects me as root, though I want to connect as a ...
0
votes
0
answers
7
views
SSLHandshakeException: Spring boot with Azure IDP in Docker
I have integrated Azure Idp with spring boot for single sign on, it works well in local or windows deployment as service, but throws SSL exception when deployed in docker, below is the application yml ...
0
votes
0
answers
19
views
Unable to connect to MSSQL from one docker container to SQL docker container
I am using docker desktop and have SQL 2022 docker image and a simple nodejs web app on different containers. They are both started on a custom network and can see both containers on the same network, ...
0
votes
0
answers
8
views
Drupal 10 multisite using "ddev share"
I need to share my local version of Drupal 10 multisite using "ddev share".
When I run the command ddev share, it only shows me the "default" version of the site (path web/sites/...
1
vote
0
answers
12
views
ConnectionRefusedError: [Errno 111] Connection refused. Docker, Python [duplicate]
I made a fastapi, alembic, postgres, sqlalchemy application, made a docker image, run http://127.0.0.1:8000/docs and try to create a user, but when sending a request I get the error ...
-2
votes
0
answers
9
views
Error in Minikube Environment Setup (minikube start)
While running the minikube start command, I am repeatedly getting this issue. Even I have tried uninstall and reinstalling minikube, even after that I am getting this error.
`C:\Windows\System32>...
-4
votes
0
answers
30
views
Frontend and backend are in the same container but the frontend cannot talk to the backend [closed]
I have one single container that runs a JS React frontend and a Rust Actix-Web backend. For shipping a locally ran project, I want the two to be in a single container rather than two separate ones.
...
0
votes
0
answers
22
views
How to run multiple commands in loaded docker image?
I have Bitbucket pipeline with 3 steps. In the 1st step the pipeline build dockerimage with php 8.2 on Alpine 3.20 and save it. In the 2nd step docker load the custom image, volume and then I need to ...
0
votes
0
answers
13
views
Error: EACCES: permission denied: Writing to the mounted volume from nextjs app
I have a nextjs app and a dotnet8 app running in docker with one docker-compose file. Here are my files:
The nextjs/Dockerfile:
FROM node:20.15.0-alpine3.20 AS base
FROM base AS deps
RUN apk add --no-...
0
votes
0
answers
6
views
Using a personal access token for dockerhub in gitlab does not work
I activated 2FA in my gitlab account and created a personal access token. Then I logged in with the access token on different ways.
$ docker login https://dockerhub.my-site.com:5000/some/path?...
0
votes
0
answers
6
views
Unable to install SSDT from docker file for windows docker image
I am trying to create windows image for .NET framework 4.8.
One of my project APPSeCONNECT.Database.sqlproj when getting nuget restored isn't able to find the file.
C:\app\AEC.Platform.Common\AEC....
0
votes
1
answer
22
views
Error 'Package is not compatible' in requirements.txt file in Docker container
I am getting a Error:
Downloading pytz-2024.1-py2.py3-none-any.whl (505 kB)
ERROR: Ignored the following versions that require a different python version: 1.19.4 Requires-Python >=3.5, <3.9; 2.5....
-1
votes
0
answers
13
views
if my application is running with docker compose how can I access localhost of within that application
I have a django application which runs through docker compose on my local system on localhost:80. I have another application which runs at localhost:3000.
I want to access http://localhost:3000 within ...
0
votes
0
answers
12
views
Custom Dockerfile and docker-compose.yml file for Kafka and Zookeeper containers doesn't produce and consume messages
I'm trying to create a custom Dockerfile and docker-compose.yml files for Kafka and Zookeeper services, in order to understand how to configure it, and how those services are communicated between each ...
1
vote
0
answers
21
views
VSCode dev-containers unable to import npm packages
I've spent lots of time debugging why I can't resolve imports in VSCode Dev-Container IDE – MY REPO.
When I start my frontend dev-container, the imports from /node_modules return error "Cannot ...