Dockerize Python Applications with GUI

Sdílet
Vložit
  • čas přidán 9. 04. 2023
  • In this video, we learn how to dockerize or containerize Python applications that have a graphical user interface (GUI).
    ◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
    📚 Programming Books & Merch 📚
    🐍 The Python Bible Book: www.neuralnine.com/books/
    💻 The Algorithm Bible Book: www.neuralnine.com/books/
    👕 Programming Merch: www.neuralnine.com/shop
    🌐 Social Media & Contact 🌐
    📱 Website: www.neuralnine.com/
    📷 Instagram: / neuralnine
    🐦 Twitter: / neuralnine
    🤵 LinkedIn: / neuralnine
    📁 GitHub: github.com/NeuralNine
    🎙 Discord: / discord
    🎵 Outro Music From: www.bensound.com/
  • Věda a technologie

Komentáře • 23

  • @krzysztof2070
    @krzysztof2070 Před rokem +30

    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

    • @VVCHK993
      @VVCHK993 Před rokem +1

      thx

    • @agmuntianu
      @agmuntianu Před rokem +2

      also you can shift + right click and you get access to powershell in current folder

    • @deokgap
      @deokgap Před rokem +1

      'wsl' and 'powershell' also work. thanks

    • @Stopinvadingmyhardware
      @Stopinvadingmyhardware Před rokem

      You can do the same in POSIX systems as well.

    • @BeeryDorin
      @BeeryDorin Před rokem

      @@agmuntianu thnx!

  • @jiangpengli86
    @jiangpengli86 Před měsícem

    thank you for this tutorial ❤

  • @paulthomas1052
    @paulthomas1052 Před rokem +1

    Thanks - an interesting exercise. 👍

  • @pablo20237
    @pablo20237 Před rokem +1

    Excellent sir

  • @milan_clips
    @milan_clips Před 3 měsíci

    My man ....thanks this helped me finally

  • @andiglazkov4915
    @andiglazkov4915 Před rokem +1

    Thanks 😊

  • @dragon3602010
    @dragon3602010 Před rokem +1

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

  • @mxdmr0697
    @mxdmr0697 Před rokem

    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?

  • @sanjaybhatikar
    @sanjaybhatikar Před 2 měsíci

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

  • @Stopinvadingmyhardware
    @Stopinvadingmyhardware Před rokem +2

    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.

  • @nocopyrightgameplaystockvi231

    Does it work with Kivy as well?

  • @5enox
    @5enox Před 4 měsíci +6

    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/*

  • @pepeshopping
    @pepeshopping Před rokem +1

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

  • @muhammedfahad1947
    @muhammedfahad1947 Před rokem

    how to run the image in ubuntu

  • @Luc1an_
    @Luc1an_ Před rokem +7

    Please also make projects using Golang

  • @thetaomegatheta
    @thetaomegatheta Před 8 měsíci

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

    • @VusalTagiyevv
      @VusalTagiyevv Před 8 měsíci

      it seems you didn't set DISPLAY variable correct. the variable should be passing the ip.