April 20, 20215 yr I've been using docker-compose successfully for a few weeks now, but I'm curious (to those that also use it) what is your strategy for auto-starting containers on boot / on array start? It's not a huge imposition to log in and do a `docker-compose up -d` in the rare instance when my server reboots, but it would be nice for it to be more hands-off.
April 20, 20215 yr 24 minutes ago, spgill said: I've been using docker-compose successfully for a few weeks now, but I'm curious (to those that also use it) what is your strategy for auto-starting containers on boot / on array start? It's not a huge imposition to log in and do a `docker-compose up -d` in the rare instance when my server reboots, but it would be nice for it to be more hands-off. Just add those lines to download docker-compose in the go file and have the user scripts plug-in run a few lines of docker-compose commands after array start? I haven’t set it up tho as I manually unlock my encrypted array anyways. Cheers
April 20, 20215 yr Good answer, this question gets asked so often, I wish someone would just include it in dev tools or something. Clearly there's demand.
November 13, 20214 yr is there a place we could vote for native docker compose support in the unraid UI?
November 13, 20214 yr 1 minute ago, FixYouDeveloper said: is there a place we could vote for native docker compose support in the unraid UI? No but you can support this plugin in its endeavor: [Plugin] Docker Compose Manager - Plugin Support - Unraid Edited November 13, 20214 yr by Thx And Bye
November 13, 20214 yr Looks like docker-compose is slowly creeping into unraid. Docker Compose Manager by: dcflachs WebGUI integration is not yet implemented.
June 4, 20224 yr On 11/13/2021 at 10:00 AM, juan11perez said: Been using the plugin since release. Works perfectly Curious, how are you using docker-compose? Pre-face, I am using CA Backup. But I am wanting to automate the install of my docker containers using Ansible as a learning method. Instead of having me click through, and setup all the docker run parameters, they can all be contained in within a docker-compose template/file. Thoughts?
June 4, 20224 yr @Waddoo I created /mnt/cache/appdata/docker-compose.yaml and run it with docker compose -f /mnt/cache/appdata/docker-compose.yaml --compatibility up -d
June 6, 20224 yr On 6/4/2022 at 2:27 AM, juan11perez said: @Waddoo I created /mnt/cache/appdata/docker-compose.yaml and run it with docker compose -f /mnt/cache/appdata/docker-compose.yaml --compatibility up -d Do you only use the docker-compose or are you building up your unraid server with ansible playbooks?
August 16, 20223 yr Docker-compose has since been merged into the docker engine! It's available now as a sub-command: "docker compose". Everyone should get this feature whenever the docker engine is updated on unraid past 20.10.14 and we will stop having to install it through a script.
August 17, 20223 yr 6 hours ago, JediMasterSoda said: Docker-compose has since been merged into the docker engine! It's available now as a sub-command: "docker compose". Everyone should get this feature whenever the docker engine is updated on unraid past 20.10.14 and we will stop having to install it through a script. unraid 6.11rc already comes with docker engine 20.10.17 # docker version Client: Version: 20.10.17 API version: 1.41 Go version: go1.17.11 Git commit: 100c701 Built: Mon Jun 6 22:56:42 2022 OS/Arch: linux/amd64 Context: default Experimental: true Server: Docker Engine - Community Engine: Version: 20.10.17 API version: 1.41 (minimum version 1.12) Go version: go1.17.11 Git commit: a89b842 Built: Mon Jun 6 23:01:45 2022 OS/Arch: linux/amd64 Experimental: false containerd: Version: v1.6.6 GitCommit: 10c12954828e7c7c9b6e0ea9b0c02b01407d3ae1 runc: Version: 1.1.2 GitCommit: v1.1.2-0-ga916309f docker-init: Version: 0.19.0 GitCommit: de40ad0 but "docker compose" is not valid # docker compose docker: 'compose' is not a docker command. See 'docker --help' so looks like docker-compose-plugin will still have to be installed.
August 17, 20223 yr Community Expert 15 hours ago, JediMasterSoda said: Docker-compose has since been merged into the docker engine! ... Everyone should get this feature whenever the docker engine is updated on unraid past 20.10.14 and we will stop having to install it through a script. Yeah i dont think this is exactly true. From what i can tell it looks like Docker Engine 20.10.13 began providing Docker Compose V2 as an optional package along with their releases. I dont think that translates into it being automatically being available on unRAID.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.