Questions tagged [python-docker]
34 questions
-1
votes
1 answer
Execute pytest from another python script within docker
I have a test script written using pytest and it works fine when I execute it as standalone.
User:~my_workspace/python_project$ pytest path_to_script/my_script.py
Now I have to run this script with different parameters and hence I have created a…

deepu
- 147
- 2
- 12
-1
votes
1 answer
Python Docker client is not able to find Docker daemon
I am working on an ubuntu/windows dual booted system, with the following specifications -->
system-specs
And, my Python version is 3.9.7
So, I am trying to run the following python program using Jina AI :…

frazer mitt
- 9
- 6
-1
votes
1 answer
Is dockerized Selenium in Python a resource hungry process?
I read in an old thread that the dockerized selenium grid is a resource hungry process.
I am trying to run 250 to 300 selenium tests in parallel, and after some research I found out I have 3 options:
1: multi threading
2: multi processing
3: running…

Sam
- 79
- 1
- 11
-2
votes
1 answer
What is the correct Dockerfile to install pyodbc on python:3.10.9-slim-buster image?
I have been using this guide for Debian 10.
I also needed install g++ for the pyodbc package to be installed.
I am using this dockerfile:
FROM python:3.10.9-slim-buster
RUN apt-get update -y && apt-get install -y curl gnupg g++ unixodbc-dev
RUN…

jayt.dev
- 975
- 6
- 14
- 36