C4ArtZ Posted April 21, 2020 Share Posted April 21, 2020 So I used Docker Compose for about half of my Docker containers. Now I switched from two old Proliant G6's to a custom build Threadripper 1920X System and I can't figure out how I ever got Compose to work. All I could find online was "use Nerdpack to download it" but I can't find it within the Nerdpack GUI from CA. Am I missing something obvious? zenith-diagnostics-20200421-1810.zip Quote Link to comment
Squid Posted April 21, 2020 Share Posted April 21, 2020 GitHub is having problems right now, so NerdPack is probably not populating correctly. Give it a while Quote Link to comment
C4ArtZ Posted April 21, 2020 Author Share Posted April 21, 2020 This would explain why CA was so slow today... But I have this problem since setting up my server about 2 weeks ago. Quote Link to comment
ptmuldoon Posted April 21, 2020 Share Posted April 21, 2020 I'm still getting my feet wet with Docker on Unraid, but I was looking yesterday for this in trying to install a docker from github that needs compose. That search led me in finding a post on the web to install docker-compose in unraid. Those steps were: I do not know if this is the preferred method, but it did seem to work. From this post here: https://github.com/duhio/docker-compose-usenet Add the following to /boot/config/go in order to install docker-compose on each boot: COMPOSE_VERSION=$(curl -s https://api.github.com/repos/docker/compose/releases/latest | grep 'tag_name' | cut -d\" -f4) curl -L https://github.com/docker/compose/releases/download/${COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose chmod +x /usr/local/bin/docker-compose 1 Quote Link to comment
C4ArtZ Posted April 21, 2020 Author Share Posted April 21, 2020 54 minutes ago, ptmuldoon said: I'm still getting my feet wet with Docker on Unraid, but I was looking yesterday for this in trying to install a docker from github that needs compose. That search led me in finding a post on the web to install docker-compose in unraid. Those steps were: I do not know if this is the preferred method, but it did seem to work. From this post here: https://github.com/duhio/docker-compose-usenet Add the following to /boot/config/go in order to install docker-compose on each boot: COMPOSE_VERSION=$(curl -s https://api.github.com/repos/docker/compose/releases/latest | grep 'tag_name' | cut -d\" -f4) curl -L https://github.com/docker/compose/releases/download/${COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose chmod +x /usr/local/bin/docker-compose That doesn't seem to work for me. But atleast I get "Persmisson denied" instead of "Unknown command" Quote Link to comment
ptmuldoon Posted April 21, 2020 Share Posted April 21, 2020 2 hours ago, C4ArtZ said: That doesn't seem to work for me. But atleast I get "Persmisson denied" instead of "Unknown command" Did you reboot unraid to get it start? It's suppose to be 3 separate lines above like in that link. Unsure why I can't get it show that way here in the forums. Quote Link to comment
C4ArtZ Posted April 22, 2020 Author Share Posted April 22, 2020 (edited) 19 hours ago, ptmuldoon said: Did you reboot unraid to get it start? It's suppose to be 3 separate lines above like in that link. Unsure why I can't get it show that way here in the forums. That could be it. Should they be seperated like this? COMPOSE_VERSION=$(curl -s https://api.github.com/repos/docker/compose/releases/latest | grep 'tag_name' | cut -d\" -f4) curl -L https://github.com/docker/compose/releases/download/${COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose chmod +x /usr/local/bin/docker-compose Edit: Just had another look at the link. No idea how I missed the new lines... Edited April 22, 2020 by C4ArtZ Missed something obvious Quote Link to comment
Be-Art Posted August 17, 2020 Share Posted August 17, 2020 I have come across this issue as well where after a reboot docker-compose is no longer available on the system. What is the reason for it not being persistent as is docker engine? is this "install docker-compose on boot" the only resolution. Has this affected anyones boot time? Quote Link to comment
Squid Posted August 17, 2020 Share Posted August 17, 2020 5 hours ago, Be-Art said: What is the reason for it not being persistent as is docker engine Because Unraid unpacks the appropriate files from the flash drive when it boots up. If you save the appropriate downloaded file onto the flash drive, and then at boot up time (via user-scripts plugin), you run a script that will install it. 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.