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

Поділитися
Вставка
  • Опубліковано 19 лис 2024

КОМЕНТАРІ • 90

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

  • @AnkitKharwade
    @AnkitKharwade 2 роки тому

    For a DevOps engineer, this is helpful.

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

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

  • @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 UA-cam before anything else :D

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

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

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

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

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

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

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

    So cool. Thanks for the video.

  • @JimMendenhall
    @JimMendenhall 2 роки тому

    Great video, Don!

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

  • @CharlieMartorelli
    @CharlieMartorelli 5 місяців тому

    Thanks Don!

  • @cnmoro55
    @cnmoro55 2 роки тому

    Thank you so much for this guide

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

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

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

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

    It was an awesome tutorial.

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

  • @blevenzon
    @blevenzon 2 роки тому

    Pretty cool!! Thank you 🙏

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

  • @starnine-b6b
    @starnine-b6b 2 місяці тому

    how to add audio feature and microphone?

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

    Is this similar to kasm?

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

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

    thanks

  • @kamoteflavor
    @kamoteflavor 2 роки тому

    VERY NICE!!!

  • @montanaflyer1147
    @montanaflyer1147 2 роки тому

    brilliant....

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

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

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

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

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

  • @chanpatrick8162
    @chanpatrick8162 11 місяців тому

    how about webtop! how to use it for this

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

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

  • @craigyoung3211
    @craigyoung3211 2 роки тому

    Kasm what’s the difference?

  • @flethacker
    @flethacker 2 роки тому

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

  • @rafagtd3477
    @rafagtd3477 2 роки тому

    Máquina!!!

  • @anthonylester6734
    @anthonylester6734 2 роки тому

    Adding to the comment stack

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

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

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

  • @taoxu1798
    @taoxu1798 2 роки тому

    What is
    n mean

  • @Just5KY
    @Just5KY 2 роки тому

    Niceeeee

  • @paulwratt
    @paulwratt 2 роки тому

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

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

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

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

  • @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 :)

  • @tld8102
    @tld8102 2 роки тому

    looks so complicated. what about graphics

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

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

    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 Рік тому

    ƤRO𝓂O𝕤ᗰ