Skip to main content

All Questions

Tagged with
0 votes
0 answers
38 views

Error 'Failed to import plugin opt/airflow/plugins/operatos/. . . ' when running docker-compose up for images

In my project, I build a docker image on my local machine, then pull the image to the production machine. On my local machine, I can still run the image using the docker-compose up command to create a ...
M99's user avatar
  • 1
0 votes
0 answers
60 views

Files encoding changes after mounting to docker-container

The essence of the problem: when connecting via ssh to docker container with a Python environment, all files mounted in it are processed in ASCII encoding for some reason. The files themselves have ...
-1 votes
1 answer
55 views

How to Fix 'SQLite OperationalError: Attempt to Write a Read-Only Database' in a Dockerized Flask App

I want to use sqlite db in docker container but when I try to add or change data I get this error Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/flask/app....
Dima's user avatar
  • 13
-2 votes
1 answer
55 views

Where docker gets the worker from if it is not specified in the compose file (it was before, but deleted and docker still pulls it)

I want to run the application from docker, there was a problem that worker_1 connects to localhost, but a different address was specified in the env .env DATABASE_URL=postgres://db_user:db_password@db/...
Anton's user avatar
  • 79
0 votes
1 answer
158 views

DAG's from DAG Folder is not visible in Airflow Home DAG (localhost:8080)

I have 3 Dag files (example1.py, example2.py and example3.py) in DAG folder in airflow/airflow-docker/dags folder (docker container in vscode) and they're not showing up in the Airflow Web Home Page, ...
Sahil Negi's user avatar
0 votes
0 answers
56 views

Jupyter interactive window in VSCode attached to dev container is priting a wrong path for __file__

I have an official Python docker container (python:3.11-slim-bookworm) running with a vanilla bind mount on my host, defined as follow in a Compose file: services: app: ... volumes: - ....
swiss_knight's user avatar
  • 8,051
0 votes
1 answer
547 views

How to start ollama with docker compose with specific LLM model

I have a docker compose where a dummy python app is using ollama LMs on the background for some tasks. I want to be able to tell ollama somehow which model to download and use on the app deployment. ...
KZiovas's user avatar
  • 4,859
0 votes
0 answers
20 views

How to indicate in code (python) that the file that should be processed by Apache Spark is mounted inside the container

I'm currently learning Apache Spark technology. In order not to clog the host machine, I launched a Spark cluster in docker. And I have a problem, I can't get Spark to load files that I have mounted ...
Никита Сушков's user avatar
1 vote
0 answers
46 views

Docker. How to fill volume at startup

I use docker-compose to run a Django project. My goal is for docker to start filled with existing data (statics, database, and all the contents of the media directory). Currently, statics are ...
Snorki's user avatar
  • 29
1 vote
0 answers
68 views

Odoo not working - no CSS on login page and blank screen post-login

I cloned a project from GitLab that uses Docker to set up multiple services, including Odoo 16, PostgreSQL, a FastAPI backend, and a Next.js frontend. The project works perfectly on my colleague's ...
AchrafBj's user avatar
  • 1,221
0 votes
1 answer
27 views

Show waiting input string when attaching to a container

I'm trying to run a client-server application in Python using docker-compose: I wrote a client.py file that awaits input: command=input("enter command"). The client.py sends requests to the ...
Wahalez's user avatar
  • 499
0 votes
1 answer
89 views

Python: Connection Refused with Elasticsearch on docker-compose

I am trying to connect to a Elasticseach instance in Python using elasticsearch==8.17.0 but I get stuck on Errno 111 Connection Refused. Running bin/elasticsearch-users useradd base-user -p base-...
Baptiste LESNE's user avatar
1 vote
0 answers
32 views

Docker Compose Enviroment varibles cannot be read by application

I have a docker compose image for Apache/Spark and am trying to send Enviroment Varibles for AWS connection they are being saved in a common config block as per below. x-spark-common: &spark-...
foO's user avatar
  • 23
0 votes
2 answers
57 views

Neo4j Connection Refused in Docker Compose Setup with LangChain Integration

I'm working on a project using LangChain to connect to a Neo4j database hosted in a Docker container. I've set up the environment using docker-compose, but I'm encountering a Connection Refused error ...
Binit Sapkota's user avatar
0 votes
0 answers
41 views

I want to deploy a docker compose application on client side premises and I want to protect the source code and the names of technologies

I have a docker compose application which is pulling different images and then mounting few config files to them with my django application which is itself a service and utilizing those services to ...
Salman Ali's user avatar

15 30 50 per page
1
2 3 4 5
112