Dockerize Python Applications with GUI

Поділитися
Вставка
  • Опубліковано 9 кві 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/
  • Наука та технологія

КОМЕНТАРІ • 22

  • @krzysztof2070
    @krzysztof2070 Рік тому +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 Рік тому +1

      thx

    • @agmuntianu
      @agmuntianu Рік тому +2

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

    • @deokgap
      @deokgap Рік тому +1

      'wsl' and 'powershell' also work. thanks

    • @Stopinvadingmyhardware
      @Stopinvadingmyhardware Рік тому

      You can do the same in POSIX systems as well.

    • @BeeryDorin
      @BeeryDorin 10 місяців тому

      @@agmuntianu thnx!

  • @dragon3602010
    @dragon3602010 Рік тому +1

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

  • @paulthomas1052
    @paulthomas1052 Рік тому +1

    Thanks - an interesting exercise. 👍

  • @pablo20237
    @pablo20237 Рік тому +1

    Excellent sir

  • @sanjaybhatikar
    @sanjaybhatikar Місяць тому

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

  • @milan_clips
    @milan_clips Місяць тому

    My man ....thanks this helped me finally

  • @mxdmr0697
    @mxdmr0697 Рік тому

    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?

  • @andiglazkov4915
    @andiglazkov4915 Рік тому +1

    Thanks 😊

  • @nocopyrightgameplaystockvi231

    Does it work with Kivy as well?

  • @Stopinvadingmyhardware
    @Stopinvadingmyhardware Рік тому +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.

  • @pepeshopping
    @pepeshopping Рік тому +1

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

  • @muhammedfahad1947
    @muhammedfahad1947 10 місяців тому

    how to run the image in ubuntu

  • @thetaomegatheta
    @thetaomegatheta 7 місяців тому

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

    • @VusalTagiyevv
      @VusalTagiyevv 6 місяців тому

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

  • @Luc1an_
    @Luc1an_ Рік тому +7

    Please also make projects using Golang

  • @5enox
    @5enox 2 місяці тому +4

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