Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. Thinking about moving my instance to docker.

Thinking about moving my instance to docker.

Scheduled Pinned Locked Moved Uncategorized
mastodonmastoadmindockerselfhostselfhosted
8 Posts 5 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • chad@vault37.xyzC This user is from outside of this forum
    chad@vault37.xyzC This user is from outside of this forum
    chad@vault37.xyz
    wrote last edited by
    #1

    Thinking about moving my instance to docker. In your experience, are there any downsides besides the migration itself?

    #mastodon #mastoadmin #docker #selfhost #selfhosted #selfhosting #homelab

    tylxr@mstdn.socialT nundrum@theatl.socialN quaff@thecanadian.socialQ jay@social.zerojay.comJ 4 Replies Last reply
    0
    • chad@vault37.xyzC chad@vault37.xyz

      Thinking about moving my instance to docker. In your experience, are there any downsides besides the migration itself?

      #mastodon #mastoadmin #docker #selfhost #selfhosted #selfhosting #homelab

      tylxr@mstdn.socialT This user is from outside of this forum
      tylxr@mstdn.socialT This user is from outside of this forum
      tylxr@mstdn.social
      wrote last edited by
      #2

      @chad I can't speak directly to running a Mastodon as a container but I use Docker extensively in my homelab for everything else. Generally speaking, there is a small amount of overhead that's added on vs running it natively, but its negligible. Updates are way easier since you're just updating the Docker image. Backups are easier since you only need to backup whatever files you you mount to the container (plus the database you tie to it).

      1/2

      tylxr@mstdn.socialT 1 Reply Last reply
      0
      • tylxr@mstdn.socialT tylxr@mstdn.social

        @chad I can't speak directly to running a Mastodon as a container but I use Docker extensively in my homelab for everything else. Generally speaking, there is a small amount of overhead that's added on vs running it natively, but its negligible. Updates are way easier since you're just updating the Docker image. Backups are easier since you only need to backup whatever files you you mount to the container (plus the database you tie to it).

        1/2

        tylxr@mstdn.socialT This user is from outside of this forum
        tylxr@mstdn.socialT This user is from outside of this forum
        tylxr@mstdn.social
        wrote last edited by
        #3

        @chad The only real downsides I've experienced with Docker (and this could be a skill issue) is that sometimes an app will misbehave and dump logs into your Docker image and it can be a pain to figure out what's going on. And depending on how stripped down the Linux distro that the image ships with is, you might not have all the tools you'd like/expect to have in the shell for the image.

        Overall though, the trade off it worth it. IMHO

        chad@vault37.xyzC 1 Reply Last reply
        0
        • tylxr@mstdn.socialT tylxr@mstdn.social

          @chad The only real downsides I've experienced with Docker (and this could be a skill issue) is that sometimes an app will misbehave and dump logs into your Docker image and it can be a pain to figure out what's going on. And depending on how stripped down the Linux distro that the image ships with is, you might not have all the tools you'd like/expect to have in the shell for the image.

          Overall though, the trade off it worth it. IMHO

          chad@vault37.xyzC This user is from outside of this forum
          chad@vault37.xyzC This user is from outside of this forum
          chad@vault37.xyz
          wrote last edited by
          #4

          @tylxr Ya, I’ve been using docker for years, too. It’s greatly simplified my setup, so I’m very fond of it. I just haven’t migrated my Masto instance yet. I work as a Rails dev, so I’m really familiar with managing it, but I’d still rather avoid managing dependencies if I can avoid it.

          I set up a new host this morning and configured it in Komodo, so I think I’m ready to migrate. After looking at the compose file that they offer, it should be a pretty straightforward process. 🤞

          1 Reply Last reply
          0
          • chad@vault37.xyzC chad@vault37.xyz

            Thinking about moving my instance to docker. In your experience, are there any downsides besides the migration itself?

            #mastodon #mastoadmin #docker #selfhost #selfhosted #selfhosting #homelab

            nundrum@theatl.socialN This user is from outside of this forum
            nundrum@theatl.socialN This user is from outside of this forum
            nundrum@theatl.social
            wrote last edited by
            #5

            @chad There are some notable differences. A few of the integrations (Whisper, for example) can't be installed directly from the web interface in a Docker container. You have to install some containers alongside HA. Overall I've never run into a serious roadblock, but just be aware you might need to spend more time researching how to set up some things.

            chad@vault37.xyzC 1 Reply Last reply
            0
            • nundrum@theatl.socialN nundrum@theatl.social

              @chad There are some notable differences. A few of the integrations (Whisper, for example) can't be installed directly from the web interface in a Docker container. You have to install some containers alongside HA. Overall I've never run into a serious roadblock, but just be aware you might need to spend more time researching how to set up some things.

              chad@vault37.xyzC This user is from outside of this forum
              chad@vault37.xyzC This user is from outside of this forum
              chad@vault37.xyz
              wrote last edited by
              #6

              @Nundrum Gotcha. My server is vanilla so far, so it shouldn’t be a problem. Appreciate the heads up, though!

              1 Reply Last reply
              0
              • chad@vault37.xyzC chad@vault37.xyz

                Thinking about moving my instance to docker. In your experience, are there any downsides besides the migration itself?

                #mastodon #mastoadmin #docker #selfhost #selfhosted #selfhosting #homelab

                quaff@thecanadian.socialQ This user is from outside of this forum
                quaff@thecanadian.socialQ This user is from outside of this forum
                quaff@thecanadian.social
                wrote last edited by
                #7

                @chad it'll be the best move you'll make. 0 downtime upgrades (if you take appropriate steps) and no dependency hell.

                The downside is if you want to alter the source code at all, rebuilding the docker image is a bit of a pain.

                1 Reply Last reply
                0
                • chad@vault37.xyzC chad@vault37.xyz

                  Thinking about moving my instance to docker. In your experience, are there any downsides besides the migration itself?

                  #mastodon #mastoadmin #docker #selfhost #selfhosted #selfhosting #homelab

                  jay@social.zerojay.comJ This user is from outside of this forum
                  jay@social.zerojay.comJ This user is from outside of this forum
                  jay@social.zerojay.com
                  wrote last edited by
                  #8

                  @chad I can't think of any beyond needing to wait for the newer docker images to be generated when a new release is made, but that's generally really quick and upgrading to newer versions is a breeze. Highly recommended.

                  1 Reply Last reply
                  2
                  0
                  • R relay@relay.mycrowd.ca shared this topic
                    R relay@relay.an.exchange shared this topic
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups