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.

116,425 questions
0votes
0answers
3views

Segmentation fault in Docker build command with NPM install

I'm experiencing segmentation fault in Docker build command. When it comes to RUN command with NPM install it will give a segmentation fault. I also looked at storage space as I read about ...
0votes
0answers
5views

Elasticsearch Unreachable: [http://kafka:9200/][Manticore::SocketException] Connection refused

I am trying to run Spring application with logstash, Elastic Search, Kafka and Kibana. [main] Attempted to resurrect connection to dead ES instance, but got an error. {:url=>"http://kafka:9200/...
0votes
0answers
13views

Import boto3 module error in aws batch job

I was trying to run a batch job on an image in aws and is getting below error ModuleNotFoundError: No module named 'boto3' But boto3 is getting imported in dockerfile Dockerfile FROM ubuntu:20.04 ENV ...
0votes
0answers
9views

MLFlow in container is not mapped to host port

I am learning about MLFlow and Docker Containers. I created an ubuntu container and mapped port 5001 of the host to 5000 of the container. docker run -it -p 5001:5000 -v D:\Docker\mlflow:/home --name ...
  • 412
0votes
0answers
26views

I can't deploy my Rest API on a docker container

My goal is to deploy a Rest API on a docker container but I have the following error com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure Firstly, I created the mysql ...
0votes
2answers
15views

how to read a file from a local directory from python code in a docker container?

I have tried to containerize my python code , this is working, building the docker image, running the container and invoking the python code in my app.py file. next, i want to be able to upload the ...
  • 303
0votes
0answers
11views

.conf file - path to current directory

I have a bunch of redirects included in a virtualhost conf file. I wanna extract them out to a separate file to make the base conf file more readable. something like: server_route/ project/ ...
0votes
0answers
14views

Python deps not found on path after installing with Poetry (and Poetry installed with pipx)

I'm trying to install Python dependencies with Poetry, after installing Poetry with pipx. The problem is that the Python dependencies installed with Poetry aren't being found on the path. Here's my ...
0votes
0answers
6views

qemu uncaught target signal 11 when running dpkg --configure libc-bin

When running a docker container (arm64v8/aarch64) on my host machine (amd64) and trying to install/configure libc-bin on a debian container, it gives me the following error: [ cut for size, full log ...
0votes
0answers
13views

Docker Airflow - Need to copy configuration file to docker environment?

I am learning to create my own Airflow image and for that, I am going through famous puckel's docker image for airflow. In that code, I have a doubt related to the airflow configuration file. Some ...
0votes
0answers
11views

Debugging Typescript app in Visual Studio Code with Docker Compose puts a breakpoint in the same line but in the JS code inside the container

I have a Typescript app with an api and db running in Docker Compose. It works. I am trying to debug it but with the following config but when I try to set a breakpoint on line 16 of src/users/...
0votes
0answers
10views

Connection Timeout after 15 min when using sqlalchemy+docker swarm

I have a FastAPI+SQLAlchemy+MariaDB application, which works fine when running local or in docker compose docker compose up . But when I run it in swarm mode (docker stack deploy -c docker-compose.yml ...
0votes
0answers
13views

Can't make outside connections when using cookiecutter-flask with docker

I'm just starting out with python, flask, and cookiecutter. I've installed cookiecutter-flask, but when trying to start the development environment, I get connection errors: $ sudo docker-compose up ...
0votes
1answer
15views

Docker-compose network : how to connect to other container?

Im running zabbix with docker compose with multiple containers. I have an issue with connecting two containers to each other (see : docker containerized zabbix server monitoring same host running the ...
0votes
0answers
20views

Spring Security - Keycloak fails with Invalid credentials after login when reached from docker container

I'm building a spring app using keycloak as identity provider. I use microservices with it. What I want to do is sending the request to api gateway, api gateway communicates with keycloak and ...

153050per page