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

Поделиться
HTML-код
  • Опубликовано: 11 дек 2024

Комментарии • 91

  • @NovaspiritTech
    @NovaspiritTech  2 года назад +8

    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 2 года назад +14

    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 3 месяца назад

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

  • @IronRex
    @IronRex 2 года назад +1

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

  • @Coopertronics
    @Coopertronics 2 года назад

    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 2 года назад +1

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

  • @bett0diaz
    @bett0diaz 2 года назад +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 2 года назад

    For a DevOps engineer, this is helpful.

  • @DominikSchmid
    @DominikSchmid 2 года назад

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

  • @jonnypeace2810
    @jonnypeace2810 2 года назад +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  2 года назад +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

  • @developerpranav
    @developerpranav 2 года назад

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

  • @norriemckinley2850
    @norriemckinley2850 Год назад

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

  • @andrewgilley
    @andrewgilley 2 месяца назад

    So cool. Thanks for the video.

  • @haydenc2742
    @haydenc2742 Год назад +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!

  • @JimMendenhall
    @JimMendenhall 2 года назад

    Great video, Don!

  • @CharlieMartorelli
    @CharlieMartorelli 6 месяцев назад

    Thanks Don!

  • @cnmoro55
    @cnmoro55 2 года назад

    Thank you so much for this guide

  • @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.

  • @chasim1982
    @chasim1982 2 года назад +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

  • @lptechCT
    @lptechCT Год назад

    It was an awesome tutorial.

  • @blevenzon
    @blevenzon 2 года назад

    Pretty cool!! Thank you 🙏

  • @marcq1588
    @marcq1588 2 года назад

    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?

  • @kamoteflavor
    @kamoteflavor 2 года назад

    VERY NICE!!!

  • @MarkStinsons
    @MarkStinsons 2 года назад

    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.

  • @k.h.9008
    @k.h.9008 2 года назад

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

    • @Darkk6969
      @Darkk6969 2 года назад

      True but it's actually easier to read.

    • @NovaspiritTech
      @NovaspiritTech  2 года назад

      yup exactly, easier to read

  • @starnine-b6b
    @starnine-b6b 2 месяца назад

    how to add audio feature and microphone?

  • @WPGinfo
    @WPGinfo 2 года назад

    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?

  • @montanaflyer1147
    @montanaflyer1147 2 года назад

    brilliant....

  • @mrksaccount123
    @mrksaccount123 Год назад +1

    Is this similar to kasm?

  • @donaldwilliams6821
    @donaldwilliams6821 2 года назад

    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?

  • @RishiRajxtrim
    @RishiRajxtrim 6 месяцев назад

    thanks

  • @Alhaddad
    @Alhaddad 2 года назад +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 2 года назад

      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 2 года назад

      @@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 2 года назад

      @@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 2 года назад

      @@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 2 года назад

      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

  • @dirkpostma2135
    @dirkpostma2135 2 года назад

    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?

  • @joir2000
    @joir2000 2 года назад

    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?

  • @emmyred4885
    @emmyred4885 Год назад

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

  • @Pegoku_
    @Pegoku_ 2 года назад +1

    Can you do it in a ubuntu/debian vm?

    • @robertmiddleswarth4770
      @robertmiddleswarth4770 2 года назад +1

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

    • @NovaspiritTech
      @NovaspiritTech  2 года назад

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

    • @Pegoku_
      @Pegoku_ 2 года назад

      @@NovaspiritTech how i can install it?

  • @flethacker
    @flethacker 2 года назад

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

  • @chanpatrick8162
    @chanpatrick8162 Год назад

    how about webtop! how to use it for this

  • @craigyoung3211
    @craigyoung3211 2 года назад

    Kasm what’s the difference?

  • @msinfo32
    @msinfo32 2 года назад

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

    • @robertmiddleswarth4770
      @robertmiddleswarth4770 2 года назад +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 2 года назад

      @@robertmiddleswarth4770 Ooh, thats cool!

  • @mattharris6958
    @mattharris6958 2 года назад

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

    • @NovaspiritTech
      @NovaspiritTech  2 года назад +1

      Working on my test build with self signed ssl support

  • @golvellius6855
    @golvellius6855 2 года назад

    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  2 года назад +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 2 года назад

    Máquina!!!

  • @sojab0on
    @sojab0on 2 года назад

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

  • @anthonylester6734
    @anthonylester6734 2 года назад

    Adding to the comment stack

  • @goffs24
    @goffs24 2 года назад

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

    • @NovaspiritTech
      @NovaspiritTech  2 года назад +2

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

  • @ardenswirl7361
    @ardenswirl7361 2 года назад +2

    Can you add gnome instead of xfce ?

    • @NovaspiritTech
      @NovaspiritTech  2 года назад +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

  • @anoopsinghyadav7672
    @anoopsinghyadav7672 2 года назад

    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.

  • @thomasloven
    @thomasloven 12 дней назад

    You probably know this, but if you hadn’t removed the image at the end the build command would just have replaced the entry.sh and been done in under a second.

  • @taoxu1798
    @taoxu1798 2 года назад

    What is
    n mean

  • @TheAnigai
    @TheAnigai 2 года назад

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

    • @NovaspiritTech
      @NovaspiritTech  2 года назад

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

  • @jordanarpad
    @jordanarpad 2 года назад

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

  • @paulwratt
    @paulwratt 2 года назад

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

  • @profetik777
    @profetik777 2 года назад

    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.

  • @Just5KY
    @Just5KY 2 года назад

    Niceeeee

  • @dwlive732
    @dwlive732 2 года назад

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

    • @NovaspiritTech
      @NovaspiritTech  2 года назад +2

      this already works on arm like raspberry pi

    • @dwlive732
      @dwlive732 2 года назад

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

  • @JarppaGuru
    @JarppaGuru 2 года назад

    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 2 года назад +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 2 года назад

    looks so complicated. what about graphics

  • @wdwdHenry9022
    @wdwdHenry9022 2 года назад

    Yubikey login

  • @andrewphi4958
    @andrewphi4958 2 года назад

    Hate containers and those who invented them!

  • @ernestoditerribile
    @ernestoditerribile 2 года назад

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

  • @timothywong4485
    @timothywong4485 2 года назад

    ƤRO𝓂O𝕤ᗰ