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

All Questions

Tagged with
0 votes
0 answers
25 views

Google Gemini (Vertex AI) Raising RECITATION errors upon Docker containerization

I'm trying to use Gemini 1.5 Flash to generate JSON data from text documents. Originally, I was running into the following issues related to copyright: Unexpected error during attempt 5: Cannot get ...
Avik Samanta's user avatar
0 votes
0 answers
28 views

Flask unable to connect to Redis & Celery with Docker-Compose

I am able to run celery shared tasks in the flask (called web) container's flask shell without issue (docker-compose exec web flask shell), however they time out when running in a route. Suspecting ...
Nicholas G's user avatar
-1 votes
1 answer
73k views

sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on 'XXX.XXX.XXX.XXX' (timed out)") [closed]

I'm using docker compose and Flask python. I'm trying to run an old application but I get sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on '...
Dev Dev's user avatar
  • 346
-1 votes
0 answers
27 views

How to provide a file to a Docker container at runtime and ensure it is accessible during container execution?

I'm working on a project where I need to provide a text file to a Docker container at runtime. This file must be accessible and used by the container during its execution. The bottom line is that the ...
prostwp's user avatar
-4 votes
0 answers
19 views

Spark and kafka integration in anaconda or docker [closed]

For my final year project, I need to use apache spark and kafka for data streaming. I have already set up pyspark environment in anaconda, but as for kafka I have no clue as there are no guides that ...
Window Man's user avatar
0 votes
0 answers
38 views

Is there a way to deploy a docker-compose app without showing the source code [duplicate]

I have a Python application that runs through a Docker Compose. I have multiple images that run Python and JavaScript scripts. I would like to know if there is a way to deploy my application locally ...
Axel's user avatar
  • 81
0 votes
1 answer
28 views

Running ns1labs/flame from python in docker

I have a docker container that runs a python script. The python script should periodically run an instance of ns1labs/flame. It produces an output file, flame.out.json. That file needs to be read by ...
noah's user avatar
  • 319
-1 votes
0 answers
51 views

How to make Docker work inside Docker Instance

Im currently trying to make docker work inside a docker deployment, the reason is that my structure looks like this: meetingsd-headless This is a C++ SDK that can be called using docker compose up to ...
dekt's user avatar
  • 83
0 votes
0 answers
39 views

Airflow DAG Import Error Avro - installed everywhere

import avro.schema ModuleNotFoundError: No module named 'avro' I have this error when I try to import a DAG in Airflow. I have avro installed in the docker image as shown below: Installed /home/...
Olti93's user avatar
  • 3
0 votes
0 answers
36 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 ...
Jesus Fragoso Jimenez's user avatar
0 votes
1 answer
76 views

I cannot run the image ollama correctly when I run it through docker-compose.yml

I am working on a project to analyze text messages to extract specific data from them. Regular expressions in Python don't work well because the text formats are constantly changing and there is no ...
Michael's user avatar
1 vote
1 answer
119 views

Poetry permission denied

This is the content of my dockerfile. I am trying to dockerise a fastapi application but I have been running into an error for a long time. # syntax=docker/dockerfile:1 # Comments are provided ...
dhebbie Godspride's user avatar
0 votes
1 answer
77 views

Running Selenium with docker compose -- cannot create session?

I have been trying to connect to the selenium/chrome-standalone docker container, and it is having trouble creating sessions. I keep getting the following error: 21:02:35.263 WARN [...
Sam Ehlers's user avatar
0 votes
2 answers
51 views

Docker compose how to start a service after one is terminated

i want to start a service after a specific script/container is ended. In particular i want the "app" container start and it will do his staff , this container will execute a python script. ...
user avatar
1 vote
0 answers
153 views

NLTK throws FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']

Hey can anyone tell what is the reason of FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/'] I am running on Docker ecs fargate task and this ...
ALTAF HUSSAIN's user avatar

15 30 50 per page
1
2 3 4 5
110