Super Small Footprint Yet Simple To Use Linux Distro Alpine Linux

Поделиться
HTML-код
  • Опубликовано: 16 окт 2024
  • In this video i will show you how to install Alpine Linux on Proxmox and configure docker.
    ○○○ LINKS ○○○
    www.alpinelinu...
    wiki.alpinelin...
    ○○○ SHOP ○○○
    Novaspirit Shop ► teespring.com/...
    Amazon Store ► amzn.to/2AYs3dI
    ○○○ SUPPORT ○○○
    💗 Patreon ► goo.gl/xpgbzB
    ○○○ SOCIAL ○○○
    🎮 Twitch ► / novaspirit
    🎮 Pandemic Playground ► / @pandemicplayground
    ▶️ novaspirit tv ► goo.gl/uokXYr
    🎮 Novaspirit Gaming ► / @novaspiritgaming
    🐤 Twitter ► / novaspirittech
    👾 Discord chat ► / discord
    FB Group Novaspirit ► / novasspirittech
    ○○○ Send Me Stuff ○○○
    Don Hui
    PO BOX 765
    Farmingville, NY 11738
    ○○○ Music ○○○
    From Epidemic Sounds
    patreon @ / novaspirittech
    Tweet me: @ / novaspirittech
    facebook: @ / novaspirittech
    Instagram @ / novaspirittech
    DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission.

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

  • @esra_erimez
    @esra_erimez Год назад +26

    I have been using Alpine Linux as my desktop daily driver with KDE for about 3 months now. So, far so good. I think you are on to something good here.

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

      please shed light on your configuration & use case as desktop,web experience & hardware you running,thankyou

    • @genkiferal7178
      @genkiferal7178 Год назад +4

      KDE is so heavy, though! I wonder if you could use XFWM or Fluxbox instead.
      I can use Fluxbox on the systemd -free OS called antiX (base version is very light!) and it is extremely fast and light even in a VM or on a 2.0 flash drive.

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

      Wow I see you in every linux channel I watch x)

    • @typingcat
      @typingcat 4 месяца назад

      @@genkiferal7178 I am using XFCE on Alpine, and everything works just like any other Linux desktop like Ubuntu. The problem of Alpine is that most apps are not binary-compatible. If something doesn't exist in the official repo, you would have to build it yourself, which takes a loooooot of time. It won't work like other Linux where you could just download a Linux binary from an official website (e.g., Blender) and run it directly.

  • @paulogodinho3275
    @paulogodinho3275 Год назад +69

    I believe you can cut even more resources usage by running Alpine on LXC instead of a VM, it should behave the same and share a lot of resources with the Proxmox underlying machine. Thank you for the video, great channel.

    • @GulfCoastGrit
      @GulfCoastGrit Год назад +3

      Just spun up a container and yep, it's about half the resources!

    • @paulwratt
      @paulwratt Год назад +4

      You can combine LXC & Docker

    • @paulogodinho3275
      @paulogodinho3275 Год назад +14

      @@paulwratt yes, run docker/portainer on top of the LXC alpine, for maximum resource sharing.

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

      There are definitely limitations on what you can do in docker inside of an LXC container tho, unfortunately.
      Just try and get guacamole running in an LXC using docker while using a GPU to speed it all up (docker is/was basically the only way to get it working inside of the newer Ubuntu releases when i last checked a month or 2 ago). But PLEASE prove me wrong and show me where I went wrong provisioning a privileged container in LXC with access to my GPU in order to get Ubuntu Server to run Guacamole. ¯\_(ツ)_/¯
      I have doubts doing this in alpine lxc would be any different.

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

      @@iknowsolittle I recently tried to install Guacamole in a LXC and it was annoying. I think my LXC is now privileged, but works

  • @paulwratt
    @paulwratt Год назад +22

    there are docs on everything you might want to use that requires "user scripts", Alpine has been around for a looong time. 2 main reasons why Alpine is "sooo lite" 1 it does not use GLibC, it uses Musl LibC (which makes it "lite on memory"), and 2 it does not use SystemD (which makes it "lite on disk"). FYI Musl and Alpine are developed by the guys that created (and still maintain) OWL (OpenWall Linux), which can install itself on a VM, has "per user security" (which only a couple of other OS's use optionally), and runs without "system bit" (the +s attribute) usage

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

      Great info, thanks for taking the time. ☮️❤️🌈

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

      I was curious but didn't find Owl Linux on youtube. I searched for Owl Linux and also Owl Openwall Linux but I don't think I saw it. Oh well maybe it'll show up sometime.

    • @manemobiili
      @manemobiili Год назад +4

      Don't forget about Busybox which replaces GNU userspace utilities.
      It's LINUX not GNU/LINUX

    • @KB-jt3ns
      @KB-jt3ns Год назад +1

      Dont musl only supports 32bit? Like void is?

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

      ​@@manemobiili I guess I have been building software on linux for too long. You _can_ build BusyBox with GLibC, but that is _not_ the case on Alpine. BTW I prefer ToyBox over BusyBox ..

  • @CaptZenPetabyte
    @CaptZenPetabyte Год назад +19

    If I remember rightly, a lot of docker environments are based on Alpine.

    • @RichardBronosky
      @RichardBronosky Год назад +4

      I've exclusively seen Alpine used in Docker. I didn't even know you could get commodity hardware support within Alpine. Cool!

  • @Terminator85BS
    @Terminator85BS Год назад +5

    absolutely love alpine, i have an alpine VM running gitolite and it gives me a great place to store my git repositories using literally 70MB of RAM. crazy.

  • @Dorff_Meister
    @Dorff_Meister Год назад +6

    You inspired me. I moved the VM that hosts many of my docker containers from Ubuntu (server) to Apline. Since all I ran on there was a single docker-compose stack (about eight unrelated containers), it was pretty easy to tar things move and move them to the new VM. A bit of DHCP re-configuration in pfsense and I'm back up under Alpine pretty quickly. The biggest headache I had was getting the user and group ID's correct on the Alpine machine. I'll consider Alpine first for my VMs in the future.

  • @MRPtech
    @MRPtech Год назад +9

    For my Proxmox VM's i am using DietPi OS Proxmox Version.
    Blank install with nothing in it uses 60mb RAM and 650mb of storage.
    DietPi Initial Setup process takes about 45 - 50 sec. depends how fast you can type and select stuff on the screen :) As i done a lot of them i can setup dietpi from scratch in less than 1 min.
    Blank install restarts in 10 - 12 sec.

    • @DaveHoltzman
      @DaveHoltzman Год назад +2

      I saw your Video 2 days ago and now here you are. So wonderful I love the videos you put out.. Thank You

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

      Fun fakt : Alpine CT container on Proxmox use < 20mb in blank run. This is super amazing to discover.

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

      @@MRPtech Sounds like Alpine containers are perfect to run on my Proxmox pi4. It's going to take some time learning Alpine though. apk is nice but it's not going to do everything apt did either

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

      @@DaveHoltzman Yes. If you really short on RAM, alpine wil be a great choice. Done a bit more testing. Pihole inside Ubuntu container uses about 55 - 60mb RAM. same docker container inside Alpine LXC - 45mb
      it is less than ubuntu but still i will keep pihole inside ubuntu lxc just because APT simplicity

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

      @@MRPtech nice to hear your thinking pretty much the same thing I am. that install script for x86 docker was so good man. I wanna spend some time researching what other alpine install scripts may be out there.

  • @momomaniac1234
    @momomaniac1234 Год назад +3

    I've installed Alpine Linux past month in my machine as desktop with KDE plasma and awesome window manager
    and i used edge repos
    on edge repos there is latest kernel version you'll find version 6
    And have latest packages version
    i had all that + i played ps2 games using pcsx2 and it's possible to to play psp games using ppsspp and retro games using retroarch
    i I've installed many packages like gimp and blenderand inkscape and darktable all of them worked well
    Alpine is a good choice for using Linux with less resource and Alpine Linux it's a security distro

  • @nathanielmoore87
    @nathanielmoore87 Год назад +15

    I love Alpine. I've used it as a touchscreen kiosk before and also for Kubernetes nodes. Both are excellent use cases as you don't want the underlying OS taking resources from the app you want to run.

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

    Thanks for this. I was trying to get Alpine running in an LXC to run things like MQTT with minimal resources. I used to use Docker, but wanted to transition to LXC and needed a reminder of the Alpine commands. The Debian LXC is so big compared to Alpine. No more bloat.

  • @RichardBronosky
    @RichardBronosky Год назад +5

    The only place I've seen Alpine used is in Docker. I didn't even know you could get commodity hardware support within Alpine. Cool! ☮️❤️🌈

    • @paulwratt
      @paulwratt Год назад +2

      Yes, there is even Bare Metal Alpine for RPi - most hosting services offer Alpine, not just on VM/Containers

  • @boscovallejo-nagera6073
    @boscovallejo-nagera6073 Год назад +5

    I've made the switch a short while ago. Sometimes I stumble into compatibility issues with the fact that the standard library isn't glib but it's a great distro for desktop. Hope it gets more traction

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

      If this happens, search the Alpine forum and mailing list for the software you are tying to compile, someone has usually already produced patches (if its not in the Community Repo)

  • @alx8439
    @alx8439 Год назад +3

    Suggest you to read a bit more about alpine deployment modes. The "sys", "data" and rest options are actually having substantial differences. You picked the right one just by chance :)

  • @Go.el_Hadam
    @Go.el_Hadam Год назад +3

    I use PostmarketOS on my Pinephone & Pinephone Pro. PMOS is based off of Alpine. I love it so much I think I will install Alpine with Sway on my main computer.

  • @Thatdavemarsh
    @Thatdavemarsh Год назад +2

    Good stuff. DSL damn small Linux back in the 2000s had a full GUI that ran on old hardware with 256 MB of ram.

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

    Great video. I just did a test install on Proxmox of both Ubuntu server and Alpine. For Ubuntu, I chose the minimal install. I installed Docker and Docker Compose on both. Alpine is currently using less than half the RAM that the minimal Ubuntu server is. I may start running Alpine for all my servers here at home. I'm going to test further setting Alpine up as an lxc as others here in the comments mentioned.

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

      I now have a Minecraft server running in an Alpine container on Proxmox and it's working perfectly.

  • @terrayi
    @terrayi Год назад +6

    In vi, if you want to delete a character at the current cursor position, rather just hit "x" instead of hitting "i", delete key and esc key. 3 strokes are just too many to delete one character.

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

    Thank you for a nice intro to Alpine
    I plan to test this as a Kubernetes K3S Node server in my proxmox

  • @DaveHoltzman
    @DaveHoltzman Год назад +2

    2 days ago I installed Alpine linux through Termux Qemu onto my Oculus Quest to run Docker and it worked well enough be it slowly. I wouldn't want to waste my time doing the configs directly on the quest itself cause its slow but to just boot it up in 4 minutes and have my dockers ready onboard my Meta Quest 2 VR headset is cool. I closely watched the Samsung Dex Community for a while so I picked up on some of their methods.

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

      wow on a quest vr headset!?!

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

      @@NovaspiritTech Yes. You've got a quest 2 right? Qemu works pretty decent on it. It's worth some play time.

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

      MRP did a video a while ago and I followed all the steps here but I used a VR headset instead..
      ruclips.net/video/IthUo9zVfmg/видео.html

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

      That was not a sentence I expected to read today

  • @matthiasbenaets
    @matthiasbenaets Год назад +5

    Why not just use a LXC CT if it seems the only issue you have is resource limitations?

    • @rodrigosmmiguel
      @rodrigosmmiguel Год назад +2

      LXC CT is a game changer on proxmox

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

      @@rodrigosmmiguel what if you _dont_ want or _dont_ need a full OS?

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

    Instead of going into interactive mode with i and then deleting a character with backspace you can press x in non-interactive mode to delete a character in vi.

  • @marsim4150
    @marsim4150 Год назад +7

    Why haven't you used the alpine virtual edition that is optimized to run on virtualized hardware ?

    • @s6yx
      @s6yx Год назад +2

      That’s what I use. Runs so so light

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

    This is so interesting, I've been using alpine with docker but never really though of installing it directly on the server

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

    Thanks for the video. I've been wanting to try out Alpine and Rocky Linux.

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

    Have you looked into the Ox64 yet? It's like a hybrid between a Pi Pico and a Pi Zero W. You can do embedded microcontroller tasks with it, or you can run linux even!

  • @luisalcarazleal
    @luisalcarazleal Год назад +2

    I've been using Debian instead of Ubuntu for the last month, but I will try Alpine. Maybe even put it on bare metal and see how it behaves. 🎉

  • @kychemclass5850
    @kychemclass5850 Год назад +6

    Would be great if you showed us how to get XFCE up and running and standard desktop apps like LibreOffice etc.

    • @NovaspiritTech
      @NovaspiritTech  Год назад +4

      i'm up for that

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

      @@NovaspiritTech Thanks! :D It'd help a lot. I'm not that skilled outside GUI's :s

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

      @@NovaspiritTech I second this. A video on how to set up Alpine as your daily driver would be interesting.

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

      If you *need* LibreOffice, fine. But, for 90% of my own files that only I access, markdown/.md files are soooo much easier and lighter/smaller. Geany might not be my favorite editor, but of all the markdown editors I own, it opens the fastest. MarkText, because of its regex capabilities, though, is also a favorite. LibreOffice is a tank - big and slow.

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

    nice video,
    this is super interesting, i was looking for a lite linux version for proxmox, it's for installing docker on a raspberry pi, i never use distro that dont use "apt"
    but if i just need to install docker that should be fine
    edit: i have install alpine on proxmox as Container Template (raspberryPi4), i'm impressed
    alpine CT :
    storage used : 105mo
    RAM : 7mo
    CPU : 7-10%
    debian CT:
    storage used : 492mo
    RAM : 23mo
    CPU: 7-20%
    thx

  • @deanbaker7080
    @deanbaker7080 Год назад +2

    Hey Don, great video! I switched from Linux Mint to Alpine on my laptop and now will start using it as my daily driver OS. I also installed the xfce desktop and it works very well, at idle only 230MB RAM used! Keep those awesome videos coming. 😁

    • @Henry-sv3wv
      @Henry-sv3wv Год назад +1

      With the memory saved you can now open one more tab in the browser cause it's the web that eats so much RAM XD

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

    Great video - very informative!! Also - you type very quickly ⌨. You should do mechanical keyboard reviews 😄

  • @brandonphilander661
    @brandonphilander661 Год назад +2

    Will be switching to FreeBSD as Bhyve finally support hardware accelerated GPU passthrough on Windows Virtual Machines.

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

    Alpine is very nice. You can have it automatically select the fastest mirrors by selecting "f" in the setup.

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

      Yay to Linus for _removing_ console scroll-back, _and_ the guy that got it re-instated

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

    Most impressive. For a low resource desktop, I've been running AntiX.

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

      i love antiX base. it needs a lot of work, but if i was rich, i'd think it was a great investment. the main problem is getting it to install on bare metal and to get the persistence set up if using a flash drive or VM. It is sooooo much faster than Debian XFCE or even Debian XFWM.
      But, Alpine OS looks even harder to configure and/or install.
      I think the linux community needs to re-think their loyalty to systemd.

  • @Lauch-Melder
    @Lauch-Melder Год назад

    Well, I've heard of Alpine Linux since years now but never tried it out. But oh boy that's crazy, I'm gonna try to migrate as much Debian VMs as possible to Alpine Linux. :D

  • @MattCantSpeakIt
    @MattCantSpeakIt 11 месяцев назад

    I want to use a very basic mini tower PC as a file server and possibly run a couple little things like a (very small) sql server and things like that. What distro would you recommend to have a good balance between ease of use, power consumption, etc? I know my way around linux a bit but I'm not the ultimate linux tech. I am used to Ubuntu Desktop and Ubuntu Server a bit...
    What distro would you recommend?

  • @Basheski
    @Basheski Год назад +3

    Thank you for this!!
    I completely forgot this distro... 😖 and it seems it also contains the packages I like (much of them rust based - on the edge branch) and has support for armv7 architecture! So it's time to dust off some older SBC's I have laying around... 😇

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

    DEBIAN minimal netinstall will give you similar light weight install. Only around 15 threads will be running at boot with around 50MB ~100MB memory consumption. Boots quick !
    I use this to run many of my applications on old hardware.

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

      DEBIAN minimal netinstall needs better documentation. I tried a few times and always had WiFi problems. Had to install using using ethernet and then move the entire heavy, bulky computer back to my bedroom later. What DE or WM did you install on it and did you test a few to compare speed or resources used?

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

    Thank you for the info!

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

    Stage 1: Don introduces new things to us. Stage 2: We bang our heads on stackoverflow

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

      this is the truest thing i ever heard

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

    So with linux, is it possible to have one device like this running apps, and another with a GUI that you sit behind and use the apps on the console based one? So some kind of server client architecture.

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

      Yes of course. You can use a browser based app, or if the remote system has X-Windows you can run the app on the "host" system and the display is sent to the remote. There are videos on doing diskless nodes and VDI solutions with proxmox/linux

  • @Mr.Leeroy
    @Mr.Leeroy Год назад +2

    If you are only after minimal RAM footprint and do not want to go all stone age with base toolkit, than plain Debian is a lot better compared to something fat like Ubuntu (better on storage too)

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

      Yea I do prefer Debian over Alpine. They both have equal weight when it comes to RAM footprint. I suppose if you really hated systemd or you want an easy out of the box setup for running OS in ram then alpine makes all of that a lot easier to setup.

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

      which debian you using?

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

    Great demo, thank you!

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

    how does alpine run in comparison to diet pi?

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

    Have you compared it against turnkey solution in resources?

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

    I actually used alpine for a while on an ancient dell vostro laptop, and man its absolutely lightweight
    there were some bugs with kde and some missing stuff that time

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

      KDE is a bug and sooo heavy, so KDE is probably half of your problem.

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

      @@genkiferal7178 no, I have used kde before, and on arch, kde had far lesser bugs...actually kde on a musl based distro is a bad idea

    • @Tatar_Piano
      @Tatar_Piano 9 месяцев назад

      ​@@drishalballaney6590 Cuz musl is anaemic, it lacks a lot of stuff needed for other software to work

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

    TBF I suspect a large chunk of the ubuntu install was the swap file, while your alpine its own swap partition. In both cases it's space you can't use, but you didn't count it when showing the fs usage on alpine

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

    I would love it if the Ox64 took off like the pico as it is afaster, and has an Open ISA RISC-V

  • @evilspoon6833
    @evilspoon6833 14 дней назад

    Bare Metal alpine with the ability to run containers/VM is not that hard to setup, and the great thing is that you learn a ton in the process.

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

    Why -standard and not -virt? It's literally designed to be run in virtualized environments.

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

    OpenRC is the goat man. Systemd is main issue with Ubuntu server

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

    on what os are you running Wazuh ?

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

    Have you tried using ubuntu core ?

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

      its stripped down but still _thicc_

  • @rhb.digital
    @rhb.digital Год назад

    how about you use LXC's, add some backup storage to Proxmox, you can easily use templates and pull them over when you need them. Much easier imo

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

      you can run them together, and it depends on what you are trying to do. If you want a full server with many services LXC, if you want _parts_ of a server, Docker is fine. And the there is there is "I need to record ..." data question too .. one is not better that the other, except for explicit senarios

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

    A bit strange how come 4 cores 4 threads ended up in Proxmox showing 8 CPUs. Do they just blindly sum everything up they find? They should have added +1 for hdd and +2 for two memory sticks then...

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

    It's great, but it can't beat a debian LXC, not sure why you would use a VM, unless you want to host a docker container, which is just painful with LXC.

  • @9SMTM6
    @9SMTM6 Год назад

    I use alpine Docker images all the time, but I have to say I don't really see the point when running a Docker host, and there's a bunch if gotchas if you're using it for something else.
    I mean, Ubuntu is just incredibly bloated, not many Linux eat so much storage by default.
    And when it comes to memory usage, well, you were not showing a LARGE difference when you consider running numerous Docker containers on there. Docker containers also need RAM, and in the end you've got a RAM issue when you're using all your available RAM. With a 8GB server that means that the difference between Ubuntu and alpine in RAM usage is neglegable.
    Also, frankly, even if there's a lot of people hating it, I really like systemd. And alpine is using another init system - openrc -, as you demonstrated, and I'm too lazy to learn advanced usage of it / or it's not even providing the features of systemd I'd like to use.
    Then there's the fact that alpine doesn't use glibc but musl. I do like the idea of musl, but you're not making things easy for yourself with that setup, most executables won't run and you'll have to hope that eg gcompat can fix it. Often there's a lot of other libraries that your regular "fat" - though significantly slimmer than Ubuntu - installation will have present but are missing in alpine, in that case you'll have to know the right tools to analyze the binary and based on that find the right package to install.
    All thar stuff ain't easy and I doubt that that tradeoff is worth it for most people.
    You went from one extrem to the other, but inbetween is the sweet spot IMO.

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

      In current microservice trend, basing ubunbu as base image is a no-no. too bloated and too slow. It may be ok for non critical home uses tho.

    • @9SMTM6
      @9SMTM6 Год назад

      @@terrayi a few points. You did not put your arguments precisely so it could be that I misunderstood you.
      I did not advocate for Ubuntu Docker images. For starters I did not advocate for Ubuntu at all, but I also would still prefer alpine images for Docker containers.
      I said that for home users it's not sensible to use Alpine - or for that matter other slim Docker OS - as a docker HOST.
      Also, on a technical standpoint, Ubuntu in many cases isn't THAT bad as a docker image base. 2 reasons: Docker layer caching /reuse and also that Docker containers typically only run single process. This means that if you've got a few images running on the same Ubuntu base, all the ones after the first will not incur any download or storage overhead. In fact, if you're running a few services that use libraries not present in alpine but in Ubuntu it's conceivable that you'll download and store MORE with alpine as for technical reasons (incompatible layers etc) these libraries might be downloaded multiple times. And when you're running stuff in these containers, it's the only process, so the memory usage increase of Ubuntu might not be present too.
      A reminder. I'm not saying that one should use Ubuntu, I'm just saying that it's more complicated than that, and also, more importantly, I don't think that the reasoning about alpine as base image or about these purpose build Docker hosts for large enterprises is at all applicable to the home user.

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

      @@9SMTM6 downloading is only a small factor when it comes to enterprise microservice architecture. When there are large visitors to the service in real production, memory usage, disk usage as well as launch time or boot time matter. AWS, GCP etc charges you for compute time which includes launch time as well as allocated memory etc. Even for home usage, who would like to wait longer? Maybe you but not me. I hated Ubuntu from more than a decade ago because of the bloat even for desktop use. It is now even larger than before. Yuck. Alpine is more than good enough distro for docker host. I'd actually highly recommend to build system running most apps using docker and kvm and leave core system as minimal as possible if you want a secure environment.

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

    Love your videos man. I have started self-hosting after watching one of your videos.
    I have been struggling to setup SSL Certificates for all my docket containers. Any help is appreciated.

    • @9SMTM6
      @9SMTM6 Год назад +1

      Use a reverse proxy which uses letsencrypt.
      Nginx Proxy Manager is probably the easiest. Personally I've used traefik but honestly I can't really recommend it.

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

    not sure why but installing docker for eaxample takes ages. besides having i5 12gen 12 threads on proxmox. should be hella fast. i installed alpine same as you did, only difference i did 2gb disk space. 1gb ram. 2 cores. if i monitor resources its not using alot of cpu or ram. nothing. i changed dns to google. 8888 and 8484 but everything seems slow. downloading / installing. any idea?
    The host is plugged in on cat6 ethernet cable. i got 1000mbit. it has static ip also tried changing host to same dns of google namesvers
    Edit: i disabled firewall at network setting of the VM and now its fast...

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

    "it's gonna f- install it"
    i love that it's gonna f- install it just like that.

  • @RufusCubano
    @RufusCubano 11 месяцев назад

    Could you make a tutorial on how to create NFS shares between alpine VM? losing my mind over here...

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

    Been playing about with getting this on hardware, but all troubleshooting guides are biased towards docker. Very frustrating!

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

    Back in the days I used Slitaz. When in openbox mode, archbang style with tint2 and such, it booted at 28 mb. The default lxde environment booted around 47 mb. The iso itself was weeeell under 100 mb. Blazing fast. Pitty it was discontinued. That being said, I've ran debian nets/openbox since 2005-ish. They all booted around 70mb.

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

      debian's creator is dead,who's now taking on deb?

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

      @@dinozaurpickupline4221 Debian's creator? You mean the original peppermint creator. No idea who's doing that nowadays.

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

      @@johnmaletic898 Ian Murdoch

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

      @@dinozaurpickupline4221 That's 2015-ish. Debian is still going strong. I was talking about Greaves, the original pappermint guy. If I recall, he did up to version 10. Anywho, I believe Slitaz, back in the days, was busybox based as well. Could be wrong though.

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

    what's the point if os with lower disk space if you cpu can't handle the taks in the end when you start loading the VM's

  • @uuu12343
    @uuu12343 Год назад +2

    I've been using alpine for awhile, and most of my Dockerfiles have all been built on alpine unless required or specified otherwise
    Its so lightweight, and half the time, the operation steps to setup, say a Samba server, is half that of debian

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

    Alpine rocks!

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

    Nice video. You can get used Dell T5600 with dual Xeons really cheap. Memory is cheap too. Mine has 72GB RAM 2x Xenos 6 cores and HT each. I added two PCIe NVMe cards for mirrored ZFS storage. Or go with T5810 for up to 256GB RAM. haha They are quiet too.

    • @Mr.Leeroy
      @Mr.Leeroy Год назад

      Idle power consumption?

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

      @@Mr.Leeroy It's a full size tower but with two xeons and lots of memory it's not going to be a low idle power consumption solution.

    • @Mr.Leeroy
      @Mr.Leeroy Год назад

      @@donaldwilliams6821 I know, that's why I ask.
      Interested in actual figures in case you measured.

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

      @@Mr.Leeroy Sorry no. Looking online seems to be around 150W.

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

      @@donaldwilliams6821 a Raspberry Pi uses about 15W

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

    I was able install alpine in UTM VM on my M1 Mac and with htop is only 69 MB of ram! BTW that startup looks like gentoo.

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

    Interesting. I am looking for a replacement for buildroot, and this may be it...

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

    Interested to see what resources opensuse microos use in comparison to the alpine setup.

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

      Thanks for the video.

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

      Alpine will still be smaller, especially if there is a desktop involved (BTW there is a good video of setup and using microos on RPi)

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

    I use Alpine Linux on a Rasp Pi with Nginx reverse proxy and ddclient.

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

      I am hoping for something similar. Klaus Schwab has warned of the electrical grid going down and a pi or something almost as tiny can run off of portable solar panels. My Raspberry Pi is also small enough to not be a nuisance - uses no desk space and I should be able to travel easily with it.

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

    Hi Don
    setup alpine does not run
    Is there another way to get this to work ?

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

      setup-alpine

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

    There are also antixLinux and DamnSmallLinux. They're tiny tiny. but Alphine is what I use.

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

      Could you explain why you prefer Alpine over antiX? I love the latter, but it seems almost as difficult to set up as Alpine seems. I use Fluxbox-ZZZ with antiX base version.
      I want to try Alpine, though. What DE or WM are you using and why - compared to what else you tried...? Your experience might save me a ton of time!

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

    I would love to switch to Alpine but I'm not going to erase my HD for it. There doesn't seem to be a way to install on an existing partition on a physical drive. setup -disk never boots. Anyone know of a tutorial to do this that shows how to install to HD alongside other OS?

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

    7:50 i'm french, so i didn't understand what you said after escape, and youtube subtitles not understand, please help me!

    • @themroc8231
      @themroc8231 4 месяца назад

      Desolé de ne répondre que 9 mois plus tard.
      C'était [escape] :wq [enter]
      Le caractère : se dit "colon" en anglais.
      Quand tu es dans l'éditeur de texte Vim escape te permet de sortir du mode "insert" dans lequel tu édites le document. Puis : indique que tu vas entrer une commabde. wq (write/quit) indique que tu veux sauvegarder et quitter le document.

    • @angusmacgyver2273
      @angusmacgyver2273 4 месяца назад

      @@themroc8231 hah merci en tout cas

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

    Don’t u ever get tiered from distro hoping?

    • @mdd1963
      @mdd1963 11 месяцев назад

      Tired of hoping to stop hopping from assorted tiers!

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

    Resources? Intel i7-11700F w/64 gig of RAM here. I'm good.

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

    I like dietpi so friendly try it ;) !!!

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

    Does Alpine Linux run on the Raspberry Pi 4?

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

      Nevermind. You answered my question at the end of your video. I'm pleased that Alpine Linux can run on the Raspberry Pi 4.

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

      @@DerekMahar Can it run on a RP3 model B?

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

      @@DerekMahar yes to both, check the website

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

    thank you. now i know how to exit vi editor.

  • @UnderC2
    @UnderC2 9 месяцев назад

    alpine's perfect for a vdi desktop

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

    The command "top", already part of bash, does almost everything "htop" does.

    • @genkiferal7178
      @genkiferal7178 Год назад +2

      yeah, but harder to read without the syntax highlighting. top should fix that small issue.

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

    Nice

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

    cant wait for your next video: "Guys I had to spend hours installing all the useful packages and utils, then I had to configure them for a few hours, then It took up 62Gb and took 2 minutes to boot, so I am switching back to Ubuntu server!" 🤣🤣🤣🤣

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

    You could even run it as a Linux container without having all the overhead of a VM.

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

    Flashbacks to System V and init

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

    I've used both alpine and debian and they are both about the same when it comes to being light weight. For the average user switching to debian is easier since there's a point of familiarity with apt and systemd. For the longest time I hated systemd and it's mostly why I had prefered alpine. Now that I'm comfortable with systemd, seems that debian is a bit more stable with certain hardware (at least for me since I seem to have issues with my realtek nic randomly resetting on alpine).

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

      i ran antiX (base version) on a cheap 2.0 flash drive and it did fine. antiX has no systemd. But, Debian XFCE (which i use on most everything) was unbearably sluggish on that same cheap flash drive. But, yes, learning a new DE/WM such as Fluxbox and also learning a new way to install was a pain int he arse. I could use AppImages on antiX, though, and that always helps.

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

    Most dockers I use are built on Alpine cos it's so small

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

    My dude why are you using a low profile membrane keyboard

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

      trust me, i want to get rid of it too.... it's so old and half the buttons doesn't work right. hahah it's all i got for now

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

      @@NovaspiritTech Haha we all been there at some point, would be good seeing a video of you searching for a new keyboard maybe an old model from dell, lenovo or ibm m(?) or just some regular new mech keyboard. Love the explanation of alpine linux ima try it out in my rig for small projects, thanks for the video 👍

  • @mdd1963
    @mdd1963 11 месяцев назад

    7:51 WHat the heck does 'EX-Cape' mean? :)

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

    Best option is to literally build your own distro using Yocto or buildroot

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

    Shift+PgUp should scroll up

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

    I'm sorry dude, but you're running containers, not dockers. Docker is not the only way to run containers, and in my opinion it's not even the best way.

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

      I've got a bunch of podmans running alongside some LXCs.

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

      ..

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

    This video is just a week too late. I accomplished what you did by piecing the instructions together. Now I can just save this and not transcribe my chicken scratch notes

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

    Just run Arch.

  • @Tatar_Piano
    @Tatar_Piano 9 месяцев назад

    Nah, no glibc no Nvidia, no gaming probably as well

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

    its not matter every 6 month its like win10->win11 on linux world. why is linux desktop 3%. there is too many distros or they actually suck. and suck just bcoz too many of them. and they are all same. same packages. minimum wallpaper change(distro)

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

    7:02 ubuntu xD well its not same. install everything same as that ubuntu it will same big lol. so whats debian smallest core. only everything to boot bash. it could be stripped even more AND when you learn make it your self. you not need any distros. distros are killing linux. distros should be just wallpaper.
    3% linux desktop use. thats like nothing. nobody actually use linux. its just test machine lol that not boot after update.
    windows problem can fix linux problem mean reinstall.
    and minimal debian use 11mb

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

    bsd is even more stingy

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

    Pal, Linux (any of it's flavors and distros) is a toy for nerds and geeks. a serious person, looking to use their pc like a normal human being has no time to be testing the weekly distro. no thanks. talk to us again when all the nerd developers could get to some agreement and release something polished, stable, coherent and usable. this is the reason you will never get more than 2 percent of market share.

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

      Android, routers, servers... Are you saying they are not serious? Not all Linux users test distros weekly or even monthly. You have biased stereotype on Linux users.

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

    Is this similar to something like ANTIX???