I never understood how to use Docker, what makes it so special? I would really like to use it on my Rapsberry Pi 3 Model B+ to ease the setup process of selfhosting different things.

I’m currently running these things without Docker:

  • Mumble server with a Discord bridge and a music bot
  • Maubot, a plugin-based Matrix bot
  • FTP server
  • Two Discord Music bots

All of these things are running as systemd services in the background. Should I change this? A lot of the things I’m hosting offer Docker images.

It would also be great if someone could give me a quick-start guide for Docker. Thanks in advance!

  • matcha_addict@lemy.lol
    link
    fedilink
    English
    arrow-up
    20
    ·
    edit-2
    8 months ago

    This blog post explains it well:

    https://cosmicbyt.es/posts/demistifying-containers-part-1/

    Essentially, containers are means of creating environments in which you can run software, and those environments are:

    • isolated, which makes it a very controlled environment. Much harder to run into errors
    • reproducible: we have tools that reproduce the same container from an image file
    • easy to distribute: just have the container image.
    • little to no compromises on performance (at least on Linux)

    It is essentially a way for you to run a program without having to worry how to set up the environment, why it didn’t work as expected, what dependencies you’re missing, etc.