spgill Posted April 20, 2021 Share Posted April 20, 2021 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. Quote Link to comment
S1dney Posted April 20, 2021 Share Posted April 20, 2021 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 1 Quote Link to comment
Marshalleq Posted April 20, 2021 Share Posted April 20, 2021 Good answer, this question gets asked so often, I wish someone would just include it in dev tools or something. Clearly there's demand. 1 Quote Link to comment
FixYouDeveloper Posted November 13, 2021 Share Posted November 13, 2021 is there a place we could vote for native docker compose support in the unraid UI? Quote Link to comment
Thx And Bye Posted November 13, 2021 Share Posted November 13, 2021 (edited) 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, 2021 by Thx And Bye 1 Quote Link to comment
FixYouDeveloper Posted November 13, 2021 Share Posted November 13, 2021 Looks like docker-compose is slowly creeping into unraid. Docker Compose Manager by: dcflachs WebGUI integration is not yet implemented. 1 Quote Link to comment
juan11perez Posted November 13, 2021 Share Posted November 13, 2021 Been using the plugin since release. Works perfectly Quote Link to comment
Waddoo Posted June 4, 2022 Share Posted June 4, 2022 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? Quote Link to comment
juan11perez Posted June 4, 2022 Share Posted June 4, 2022 @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 1 Quote Link to comment
Waddoo Posted June 6, 2022 Share Posted June 6, 2022 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? Quote Link to comment
JediMasterSoda Posted August 16, 2022 Share Posted August 16, 2022 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. 1 Quote Link to comment
Marshalleq Posted August 16, 2022 Share Posted August 16, 2022 Fantastic info! This will be a great addition! Quote Link to comment
zoggy Posted August 17, 2022 Share Posted August 17, 2022 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. Quote Link to comment
primeval_god Posted August 17, 2022 Share Posted August 17, 2022 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. Quote Link to comment
Recommended Posts
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.