Skip to main content Docker-compose in unraid : r/unRAID
r/unRAID icon
Go to unRAID
•

Docker-compose in unraid

Help

Hi all,

I have this new rig ready to go and I am deciding on the OS. I am pretty much sold for Unraid, I just have one concern.

I do use docker on my previous system, where everything is started with docker-compose. They include a lot of advanced features like macvlans, custom networks with defined subnets, etc.

I was wondering if I use docker-compose on unraid if everything is going to work as expected or if there are some caveats. Will everything show in the UI too?

Thanks

Slash review times, eliminate bugs, and get valuable insights into your projects and code.
  • Slash review times, eliminate bugs, and get valuable insights into your projects and code.
  • Slash review times, eliminate bugs, and get valuable insights into your projects and code.
  • Slash review times, eliminate bugs, and get valuable insights into your projects and code.
  • Sort by:
    Best
    Open comment sort options
    • • Edited

    The Docker Compose Manager plugin sounds like exactly what you want. Rather than deal with a script to reinstall every reboot, having this plugin makes docker-compose available to you in terminal.

    The downside to using compose in unRAID is that while your containers will show up in the WebUI, you don't get the bells and whistles that come along with a typical plugin-based container directly from the Community Applications such as icons and easy access to container web UIs. I've also several times ended up with the WebUI constantly telling me there's an update when that doesn't seem to be the case, at least for the tag I'm pulling. I don't believe the update functionality would work anyway, though I've not tried it as my update process is just to pull latest images at my discretion through terminal.

    The developer for this plugin recently updated it to allow writing compose stacks within the normal docker page in unRAID, with "Compose Up" and "Compose Down" buttons and it worked well enough in my short testing, but I've primarily used the terminal to bring up the docker-compose.yaml file stored on my array.

    I installed the "docker folder" app, which is sort of builds off of the main docker list, and you can neatly group containers and add custom dropdown buttons to each group. Very helpful for docker compose.

    I made buttons to perform docker-compose up/down/pull/start/stop

    More replies

    Yes it does. I pulled a formula from the Web a week ago. It installed and pulled all the required images. You can then see them and restart them in the gui.

    Profile Badge for the Achievement Top 1% Commenter Top 1% Commenter

    You’ll need to run a script to download docker-compose after each reboot but it works like a charm.

    Why is that? Cant I just download the binary to /usr/local/bin or whatever?

    Either way, I was planning on using the compose docker container, so no need to download it

    More replies
    More replies

    Just install portainer it allows you to use Docker compose

    That's a good alternative, but I have a git repo with scripts it's easier to have everything on command line

    More replies