Skip to main content

All Questions

Tagged with
-1 votes
1 answer
36 views

When updating Wsl I Get an Error

enter image description hereenter image description hereI have Windows 11 machines I installed docker and after installing I got an error "wsl --update" And when I run the code wsl --update ...
mobin's user avatar
  • 1
0 votes
0 answers
239 views

Ubuntu VM with Cups Server and docker container with pycups: cups.IPPError: (1030, 'The printer or class does not exist.')

I have an Ubuntu VM with the cups server installed, configured and running. I can print to every printer from the web interface with no problems. Inside this VM there is a docker container with a ...
PoKeRGT's user avatar
0 votes
0 answers
873 views

SSL: CERTIFICATE_VERIFY_FAILED when calling Azure library in docker container and in VS code running locally

I am reading a client certificate from Azure key vault in Python. Code in being run in VS code in windows. I have following code credential = DefaultAzureCredential() certificate_client = ...
Ali's user avatar
  • 101
0 votes
0 answers
763 views

Operation not permitted for TUNSETIFF

i am trying to open a TUN device and using ioctl with operation code TUNSETIFF and getting operation not permitted error. environment PRETTY_NAME="Ubuntu 22.04.1 LTS" $ docker --version ...
vk-code's user avatar
  • 101
0 votes
1 answer
431 views

Pip support with embeddable Python on wine in Docker

I am using an architecture which supports Windows system only. I have setup a Jenkins server for CI/CD. I am using Wine with Ubuntu:20.04 in Docker to build my source and package it on Jenkins. I also ...
Dhruvik's user avatar
0 votes
2 answers
1k views

Web scraping with python + selenium + multiprocessing in a docker container becomes slower over time

I have built a web crawling solution with python, selenium and multiprocessing which is deployed in a docker container in an EC2 instance (m4.2xlarge type). Whenever I run it with a large input, it ...
Saurabh Saxena's user avatar
1 vote
1 answer
284 views

How to run scrapy splash on a Virtual Machine

How do I run scrapy splash on a virtual machine with linux? Essentially, I have a lua script that requires me to send keys onto a site to log in and then scrape it. I have installed docker however I ...
dollar bill's user avatar
0 votes
0 answers
2k views

Install specific python version in docker container (Alpine)

I'm a Linux noob and I try to install Python3 3.6.9 or any Python 3.7 inside a docker container. From what I understand, the container is on Alpine. I tried this code found on a stack overflow thread. ...
Bradford1138's user avatar
2 votes
1 answer
276 views

Docker use system python package

How do I keep pip from compiling av, if I have python3-av installed through apt? I'm performing a multi-arch Docker build with a Dockerfile that looks like this: FROM python:3-bullseye RUN apt-get ...
Valentin Metz's user avatar
0 votes
1 answer
607 views

How to make my app's Python Docker image smaller?

I am trying to make my Docker image smaller (4GB+ due to the large deep learning Python packages). Two ideas that I’ve had so far: Switch from python:bullseye to python:slim-bullseye to save 300MB. ...
Kermit's user avatar
  • 123
3 votes
1 answer
386 views

What would be the best way to have multiple docker containers running on one server with https?

So currently I have an Python Flask application. It is a basic script with different webhooks. For each new webhook I want to add I would need a different Docker container. So since I will be ...
Danny O's user avatar
  • 33
0 votes
1 answer
377 views

Dockerfile should specify at least one CMD or ENTRYPOINT

# For more information, please refer to https://aka.ms/vscode-docker-python FROM python:3.8-slim-buster # Keeps Python from generating .pyc files in the container ENV PYTHONDONTWRITEBYTECODE=1 # ...
Alex's user avatar
  • 103
1 vote
1 answer
6k views

Ansible - Python - Docker: Module not found docker / docker-py — WHY No module found error is coming in Python prompt and in Ansible

Ansible 2.8.3 When I run my playbook, I see the following error. TASK [deployer_role : Creating network] ************************************************************************************************...
AKS's user avatar
  • 121
1 vote
1 answer
1k views

pip error "No module named ordered_dict"

I'm creating a docker that includes the following: FROM debian:jessie RUN sed -i '/jessie-updates/d' /etc/apt/sources.list # Now archived RUN apt-get update && apt-get install -y python ...
Jeff Learman's user avatar
1 vote
2 answers
3k views

FTP client in a docker container

I'm trying to connect to an FTP server programmatically. The language of my choice is Python, which is simple enough: from ftplib import FTP ftp = FTP(host=FTP_HOST, user=FTP_USERNAME, passwd=...
Eggman's user avatar
  • 21

15 30 50 per page