Skip to main content

All Questions

0 votes
0 answers
132 views

Not having write permissions for a file in a docker container

Every time I want to edit and save a file using a text editor like Sublime Text or VS Code, it requires my password. The files are part of a Django project in a docker container. Only the root user ...
Saeed's user avatar
  • 89
0 votes
0 answers
112 views

How to create an docker-container with mount points using python

for my Unittests I want to start for every test one docker container using python. I want to mount the repository into the container, so that the dependencies are working. Here is my code: repository =...
Lvkas_'s user avatar
  • 13
-4 votes
1 answer
409 views

Docker Compose : connecting python container with postgresql container

I'm trying to connect my python container which is a web scrape and then upload the data to the postgresql container (database). This is the error I get from the python container. Everything else runs ...
Python_Slayer's user avatar
0 votes
1 answer
166 views

Unable to delete Docker images associated with stopped containers using Python script

I'm working on a Python script to manage Docker containers using Docker Compose. The script starts and stops containers based on a given Docker Compose file. However, I'm having trouble deleting the ...
Bosser445's user avatar
  • 365
0 votes
1 answer
768 views

How to define and use kafka host name in docker compose

I want to have some containers use kafka to push data and I have referred to this repo, https://github.com/ktechhub/deploy_kafka_docker after I changed the "KAFKA_ADVERTISED_HOST_NAME" to ...
Aaron's user avatar
  • 81
0 votes
0 answers
809 views

Can't establish DB2 connection from container built from docker-compose.yml

I am trying to use a db2 docker image in a docker-compose-yml file, and when running docker-compose up --build, docker seems to build the two containers correctly. But when I try to connect to the ...
Renato Aranha's user avatar
0 votes
2 answers
2k views

How to automatically move all DAG files to Airflow Docker and not just have only the latest added file moved and renamed to 'example_python_operator'?

PROBLEM How to automatically move all DAG files to Airflow Docker and not just have only the latest added file moved and renamed to 'example_python_operator'? Guides That I have Tried 1. docker run -...
sogu's user avatar
  • 3,096
0 votes
1 answer
235 views

providing static IP to docker compose container (and connect to it with python socket)

I created a docker-compose file and runned a container with a static IP address (10.5.0.5) on it, The container is running a python script that uses socket to listen on the given ip address and port. ...
רועי אטיאס's user avatar
-1 votes
1 answer
388 views

How to import a dockerized common module from a different docker in python

I have a python file containing generic functions named utils.py and another set of programs say, pgm1.py, pgm2.py, pgm3.py which imports utils.py and invokes it's functions eg: utils.send_email(), ...
Akhil Pakkath's user avatar
0 votes
3 answers
2k views

Can't open localhost in the browser on port given in docker-compose

I am trying to build and run django application with docker and docker-compose. docker-compose build example_app and docker-compose run example_app run without errors, but when I go to http://127.0.0....
Przemysław Markiewicz's user avatar
2 votes
1 answer
1k views

Docker containers not communicating between each others using fastapi and requests module on windows

I've two apps- app1 and app2. When I call app1 using fast API, it calls app2 through fast API and returns the response from app2 to app1. Then app1 returns the response it got from app2. Both apps are ...
shamiul islam shifat's user avatar
0 votes
1 answer
886 views

docker-compose throwing "ModuleNotFoundError" with pandas

I am trying to containerize a very simple Flask API that connects to mongodb. For the API's output, I am using the pandas module. However, when I run 'docker-compose up', I get the following error: ...
Incepnizer's user avatar
0 votes
0 answers
59 views

access jupyter running on Docker container installed on unix server

It's my first week working on dockers, i have arrived on my new work, found running container on server, on this container i have installed jupyter. ps: i don't know on which port my container is ...
Jappa's user avatar
  • 101
0 votes
0 answers
165 views

Send logs from docker container to Windows host

I've seen other posts with similar questions but I can't find a solution for my case scenario. I hope someone can help. Here is the thing: I have a python script that listens for UDP traffic and ...
kevn_gonz's user avatar
1 vote
2 answers
1k views

Moved docker dir to /home, /tmp directory error

For reasons of space on / I have moved the directory / var / lib / docker to my home. Containers work fine, I can create new ones and manage everything as usual. But there is a problem with a ...
Plaoo's user avatar
  • 460

15 30 50 per page