Dockerize Python Applications with GUI

preview_player
Показать описание
In this video, we learn how to dockerize or containerize Python applications that have a graphical user interface (GUI).

◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming Books & Merch 📚

🌐 Social Media & Contact 🌐

Рекомендации по теме
Комментарии
Автор

protip, on windows you can just type in cmd in address bar and then it will automatically open in cmd with current directory, no need to use cd

krzysztof
Автор

You could just create the python app to create it's own container, rather than running it in Go, which just adds complexity and vulnerabilities, which is the entire point of running containers.

Stopinvadingmyhardware
Автор

My man ....thanks this helped me finally

milan_clips
Автор

i have a question, is there any way to show the GUI without need to install the X server? i mean - if another user will downlowd mt app from github he wont be able to run the app if he doesnt have the x server installed on his own computer, right?

SemRaichman
Автор

Anyone looking for the packages:
libxrender-dev libx11-6 libxext-dev libxinerama-dev libxi-dev libxrandr-dev libxcursor-dev libxtst-dev tk-dev && rm -rf /var/lib/apt/lists/*

enox
Автор

Thanks for an amazing video. The libs you installed would be different on Linux or Mac, no?

sanjaybhatikar
Автор

Great, but I would not do X Display.
I have been doing RDP, with sound, on all my servers with GUI.

pepeshopping
Автор

Awesome, does it work with the library playwright too that automate browser, can we dockerize it?

dragon
Автор

Thanks for the video!
One issue: when i want to put my libraries into a requirements.txt, i get an error creating the image in RUN pip install -r requirements.txt. The error says: Warning: retrying […] Failed to establish a new connection […]
Error: could not find a version that satisfies the requirement pandas
Error: no matching distribution found for pandas.
Can you or someone from the Community help me pls?

mxdmr
Автор

'_tkinter.TclError: couldn't connect to display "%DISPLAY%"'
Something is underexplained here.

thetaomegatheta
Автор

Please also make projects using Golang

Lucan_