From Start to Finish Build a Desktop on a Browser Docker Container

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ก.ย. 2024

ความคิดเห็น • 88

  • @NovaspiritTech
    @NovaspiritTech  ปีที่แล้ว +7

    if you venture over to the dev branch, i have audio working and cleaned up a bunch of stuff in the Dockerfile github.com/novaspirit/Alpine_xfce4_noVNC/tree/dev

    • @PromoHands
      @PromoHands ปีที่แล้ว

      Very good tutorial. Learned a lot form it. Currently I am using dev branch. Audio is working perfect in DigitalOcean droplet. But in Oracle Cloud instances its not working. I have tried 3 versions of Ubuntu (18, 20, 22) (but not minimal). Tried centos7 and Oracle Linux 8 as well. But nothing is working. I have no idea what should I change. I have tried to study your Dockerfile, compared it with previous versions and learned that you have added cmake, wget, pulseaudio xfce4-pulseaudio-plugin pavucontrol pulseaudio-alsa alsa-plugins-pulse alsa-lib-dev nodejs npm. I have no idea what to tweak so that it starts working on Oracle Cloud VMs. Please help. I have no idea where is the issue. Thanks

  • @Darkk6969
    @Darkk6969 ปีที่แล้ว +15

    This is probably the best video on how to create a docker file and get stuffs working. Fixing the mistakes is part of the learning process. Great video!

  • @MrJordiSoto
    @MrJordiSoto 26 วันที่ผ่านมา

    The fact that you left the mistakes makes this video x1000 Thank you so much ❤

  • @IronRex
    @IronRex ปีที่แล้ว +1

    Thanks for the audio version. Also love the "We're making it live" style of video.

  • @Coopertronics
    @Coopertronics ปีที่แล้ว

    Brilliant as always. This is really useful for an office environment with hot-desking. You will always get your desktop no matter what machine you are on. Each employee can have their own docker span up. Super cool.

  • @DCODev
    @DCODev ปีที่แล้ว +1

    Dude ..this video is LEGIT!!! I really enjoyed this tutorial and the unfiltered process!!! Thank you!

  • @bett0diaz
    @bett0diaz ปีที่แล้ว +1

    GREAT VIDEO!!!!! I was looking forward for a video explaining how to create a docker. I am missing now how to publish it into docker hub! Haha. Thanks for all what you do for the community

  • @MatthewN8OHU
    @MatthewN8OHU ปีที่แล้ว

    Love this video. I'm actually watching this on the Alpine XFCE4 Docker from the Pi-Hosted list. Audio isn't syncing, but that's a minor niggle since it's running on a Pi4.

  • @AnkitKharwade
    @AnkitKharwade ปีที่แล้ว

    For a DevOps engineer, this is helpful.

  • @DominikSchmid
    @DominikSchmid ปีที่แล้ว

    This is great, Don! For a long time, I was thinking of how to get something like this getting done.

  • @CharlieMartorelli
    @CharlieMartorelli 3 หลายเดือนก่อน

    Thanks Don!

  • @jonnypeace2810
    @jonnypeace2810 ปีที่แล้ว +1

    Great video dude!! Love the docker methods you've used for alpine. If i remember right audio can be an issue with noVNC, or maybe VNC as a whole (unless realVNC is used, but i'm not 100%). I have always ended up using nomachine, not as much fun as having a desktop through your browser with a docker image you've built yourself. There's probably a linux way to get audio with vnc or knowing me, a tick box i've missed.

    • @NovaspiritTech
      @NovaspiritTech  ปีที่แล้ว +1

      hahah if you check out my dev branch on the same git, i got audio working and a few other things fixed! github.com/novaspirit/Alpine_xfce4_noVNC/tree/dev

  • @norriemckinley2850
    @norriemckinley2850 ปีที่แล้ว

    Excellent! I don't quite have a use for this yet but a great example nonetheless. Thanks

  • @developerpranav
    @developerpranav ปีที่แล้ว

    Very impressive! Thanks for the tutorial! The only thing I feel missing is audio configuration, as even you had the idea to launch TH-cam before anything else :D

  • @lptechCT
    @lptechCT ปีที่แล้ว

    It was an awesome tutorial.

  • @chasim1982
    @chasim1982 ปีที่แล้ว +2

    Great Video also audio works in alpine container, can you please create a video with ubuntu container with audio & https just like kasm-desktop, thanks

  • @cnmoro55
    @cnmoro55 ปีที่แล้ว

    Thank you so much for this guide

  • @RishiRajxtrim
    @RishiRajxtrim 3 หลายเดือนก่อน

    thanks

  • @salapolivalenta77
    @salapolivalenta77 ปีที่แล้ว

    This is amazing! The only downside is the sound which doesn't work at all. I put an nginx in front f the docker and with vnc.html I get Uncaught SecurityError: Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS. The nginx config has websocker support because vnc_lite works just fine. Is running nice but the issue is the sound, everything seems to be fine but can't hear anything. Actually the main issue is the HUGE load, never expected this...I even rebuilt the image as simple as possible as shown in this video but the results are kinda tthe same.

  • @JimMendenhall
    @JimMendenhall ปีที่แล้ว

    Great video, Don!

  • @blevenzon
    @blevenzon ปีที่แล้ว

    Pretty cool!! Thank you 🙏

  • @haydenc2742
    @haydenc2742 11 หลายเดือนก่อน +1

    Have you cleaned up your new build...I have your's running on my "test" build...can you set the lite as the index.html so it automatically starts the desktop?
    can you show how to build a Debian 11-xfce-novnc? I really want to build one like that...
    P.S. We need more PI-Hosted stuff!!!
    Very cool!

  • @MarkStinsons
    @MarkStinsons ปีที่แล้ว

    Folks who want an MS Windows like WM as small as possible (that supports *.desktop files and standards) should check out IceWM . I use XFCE daily myself. But for my ultra-low footprint X11 systems. my minimal X11 is IceWM, nedit, and rxvt -- all have the most minimal deps.

  • @kamoteflavor
    @kamoteflavor ปีที่แล้ว

    VERY NICE!!!

  • @montanaflyer1147
    @montanaflyer1147 ปีที่แล้ว

    brilliant....

  • @emmyred4885
    @emmyred4885 10 หลายเดือนก่อน

    I love this. You did an amazing stuff here. Please, can you do this for Ubuntu ? I would very much appreciate it. Thank you

  • @mrksaccount123
    @mrksaccount123 ปีที่แล้ว +1

    Is this similar to kasm?

  • @k.h.9008
    @k.h.9008 ปีที่แล้ว

    Bash multi-line command can end with "&&" on each line so that you don't need the back-slashes.

    • @Darkk6969
      @Darkk6969 ปีที่แล้ว

      True but it's actually easier to read.

    • @NovaspiritTech
      @NovaspiritTech  ปีที่แล้ว

      yup exactly, easier to read

  • @marcq1588
    @marcq1588 ปีที่แล้ว

    Very impressive! Thank you for all the time you give us showing this.
    How would you allow access to this new Alpine XFCE4 from the outside world?

  • @golvellius6855
    @golvellius6855 ปีที่แล้ว

    Perfect timing
    Now would love to create something like this but with an emulator for retro gaming aka retro pi,batocera
    Etc
    Currently there's one called emulatorjs which is pretty cool and all but having more options or create something out of your own is cooler

    • @NovaspiritTech
      @NovaspiritTech  ปีที่แล้ว +1

      ahhaah that would be cool, the only problem with this would be usb controller passthrought, i don't think it's going to be possible with this method

  • @rafagtd3477
    @rafagtd3477 ปีที่แล้ว

    Máquina!!!

  • @WPGinfo
    @WPGinfo ปีที่แล้ว

    Hi Don,
    This gives great control to create / assemble things just the way you want / need which is great [yet somewhat complicated for a newbie]. Why don't you use a 'webtop'- docker image?

  • @dirkpostma2135
    @dirkpostma2135 ปีที่แล้ว

    Great video thanks. Awesome to run an almost virtual host in a browser window.
    When I try to open a shell window I get this error:
    "failed to execute child process "bash": failed to fdwalk: operation not permitted".
    Using Linux Mint 20.2. How can I fix this?

  • @Alhaddad
    @Alhaddad ปีที่แล้ว +1

    why not separate each RUN command inside the Dockerfile? so that docker creates a layer for each command and makes use of docker cache to optimize the build process.

    • @donaldwilliams6821
      @donaldwilliams6821 ปีที่แล้ว

      One reason I can think of is the with && the next command won't run if the previous one fails. If any of those steps fail, the container won't work. I didn't think that was the case with individual RUN commands.

    • @Alhaddad
      @Alhaddad ปีที่แล้ว

      @@donaldwilliams6821 in some cases you need to chain commands with &&, but for the apk command for example you don't want to re-download all packages every time you build the image, especially in the testing phase

    • @donaldwilliams6821
      @donaldwilliams6821 ปีที่แล้ว

      @@Alhaddad Maybe in a strict dev environment. But otherwise I would want the lastest software versions when I build a new image vs. running one I already built.

    • @Alhaddad
      @Alhaddad ปีที่แล้ว

      @@donaldwilliams6821 you can always build the image with docker build --no-cache when you know everything works, and get a clean and up to date image 🙂

    • @fabianbalmaceda6808
      @fabianbalmaceda6808 ปีที่แล้ว

      Is better using multiple RUN for build performance...
      Docker build fails base on exist codes, makes no sense build a container not knowing if it works

  • @joir2000
    @joir2000 ปีที่แล้ว

    Great video!
    I enabled both the normal and the community repo, but
    apk add tigervnc results in :
    ERROR: unable to select packages:
    tigervnc (no such package):
    required by: world[tigervnc]
    Any idea how to solve it?

  • @anoopsinghyadav7672
    @anoopsinghyadav7672 ปีที่แล้ว

    I like this video as i had done this type of setup earlier, I am getting suck at point i am launching multiple container and i want to be on 1 subdomain with ssl i am not able to do the setup anyone is having any idea please feel free to drop over here .
    Thanks novaspirittech for the great video.

  • @donaldwilliams6821
    @donaldwilliams6821 ปีที่แล้ว

    Amazing! Thank you so much! Since you map the ports at runtime Could I start up another container, change the external port say 6081:6080 and have multiple desktops?

  • @chanpatrick8162
    @chanpatrick8162 9 หลายเดือนก่อน

    how about webtop! how to use it for this

  • @anthonylester6734
    @anthonylester6734 ปีที่แล้ว

    Adding to the comment stack

  • @craigyoung3211
    @craigyoung3211 ปีที่แล้ว

    Kasm what’s the difference?

  • @goffs24
    @goffs24 ปีที่แล้ว

    Is the proxmox you run still the Raspberry Pi one? Or is it an actual server you have?

    • @NovaspiritTech
      @NovaspiritTech  ปีที่แล้ว +2

      this one is a minipc i5, but this works on raspberry pi pimox7 as well.

  • @mattharris6958
    @mattharris6958 ปีที่แล้ว

    Is there any support for SSL? I'm currently trying to add this to an nginx reverse proxy

    • @NovaspiritTech
      @NovaspiritTech  ปีที่แล้ว +1

      Working on my test build with self signed ssl support

  • @flethacker
    @flethacker ปีที่แล้ว

    how to do this for a dockerized windows 10 desktop build or a mac one?

    • @NovaspiritTech
      @NovaspiritTech  ปีที่แล้ว

      shhh your giving away all my secrets

  • @ardenswirl7361
    @ardenswirl7361 ปีที่แล้ว +2

    Can you add gnome instead of xfce ?

    • @NovaspiritTech
      @NovaspiritTech  ปีที่แล้ว +2

      this guide is ment so you can build your own, but you can just change xfce4 to gnome and the start script from startxfce4 to gnome-session. should do the trick

  • @msinfo32
    @msinfo32 ปีที่แล้ว

    What is the comparison of this compared to running something like Webtop? Is it better through NoVNC on this way?

    • @robertmiddleswarth4770
      @robertmiddleswarth4770 ปีที่แล้ว +2

      Webtop is a defined environment. So you get a full generic desktop. This would be how you would for instance build a container that includes only x app and everything needed to run said app. Nothing else but said app.

    • @msinfo32
      @msinfo32 ปีที่แล้ว

      @@robertmiddleswarth4770 Ooh, thats cool!

  • @Just5KY
    @Just5KY ปีที่แล้ว

    Niceeeee

  • @TheAnigai
    @TheAnigai ปีที่แล้ว

    I love the 404 one you have that says wazuh like wazzzzzzzzzzzzzzzzzup

    • @NovaspiritTech
      @NovaspiritTech  ปีที่แล้ว

      haha i love naming stuff like that, my NAS is called NASty, and my pi4 nas is called PINAS LOL

  • @taoxu1798
    @taoxu1798 ปีที่แล้ว

    What is
    n mean

  • @jordanarpad
    @jordanarpad ปีที่แล้ว

    using http with novnc makes it useful locally only - not great when you want to access remotely

  • @Pegoku_
    @Pegoku_ ปีที่แล้ว +1

    Can you do it in a ubuntu/debian vm?

    • @robertmiddleswarth4770
      @robertmiddleswarth4770 ปีที่แล้ว +1

      Yes, just start with Ubuntu or Debian image and then install what you prefer.

    • @NovaspiritTech
      @NovaspiritTech  ปีที่แล้ว

      just finished testing with a debian base with kde twitter.com/NovaspiritTech/status/1593769372564312065

    • @Pegoku_
      @Pegoku_ ปีที่แล้ว

      @@NovaspiritTech how i can install it?

  • @sojab0on
    @sojab0on ปีที่แล้ว

    great vid i tried the normal github clone and run but I already created an github issue, due to it throwing errors

  • @paulwratt
    @paulwratt ปีที่แล้ว

    hmm.. SteamOS (AMD) and/or TwisterOS (ARM) playing Steam/GOG games through the browser ...

  • @profetik777
    @profetik777 ปีที่แล้ว

    how much more amazing would this be if all these manual steps were just....automated in a script or condense in 2-3 inputs via ncursor text-user-interface aka TUI ? this is why a lot of linux projects get sorta popular but never take off or have financial sustainability....they make almost done products....80% to 90% polish. Its that last 10% that takes things to new levels....but people RARELY wanna take things that far.
    Don't get me wrong , dope project....just a pattern I see all over FOSS. Great ideas. Great potential. But glorified proto-types are not something you can invest in. Where will these projects like this be in 5-7 years? Like so many , they just fade out. And MAYBE someone somewhat serious about it will pick it up.

  • @JarppaGuru
    @JarppaGuru ปีที่แล้ว

    why everything need be cloud and docker. its fine if someonedevelop using docker but end product should be un dockerless lol
    chroot fine python env fine but put those still on docker lol what. i dont get it

    • @KuroganeX3
      @KuroganeX3 ปีที่แล้ว +1

      It's fine. One day you will understand. When you will have production environment and it's better to have containers (dockers) which don't have access to full systems, which might. break up your system (update, miss configuration, etc), you don't want that. If docker container breaks, your server will be fine without crashing, nothing will be inpacted only that 1 image, if you won't need it, you can simply delete docker container.

    • @bfmvshinigami
      @bfmvshinigami ปีที่แล้ว

      you'll understand one day.

  • @tld8102
    @tld8102 ปีที่แล้ว

    looks so complicated. what about graphics

  • @wdwdHenry9022
    @wdwdHenry9022 ปีที่แล้ว

    Yubikey login

  • @dwlive732
    @dwlive732 ปีที่แล้ว

    Next step is to deploy this on ARM board like raspberry pi and get surprised

    • @NovaspiritTech
      @NovaspiritTech  ปีที่แล้ว +2

      this already works on arm like raspberry pi

    • @dwlive732
      @dwlive732 ปีที่แล้ว

      @@NovaspiritTech that's awesome then you made my day :)

  • @ernestoditerribile
    @ernestoditerribile ปีที่แล้ว

    Zsh is way better then bash. And accept all bash commands.

  • @timothywong4485
    @timothywong4485 ปีที่แล้ว

    ƤRO𝓂O𝕤ᗰ

  • @andrewphi4958
    @andrewphi4958 ปีที่แล้ว

    Hate containers and those who invented them!