Wondering if there is a way to setup docker compose on LE ?
THX,
Bill Clark
Wondering if there is a way to setup docker compose on LE ?
THX,
Bill Clark
I don't see why not - depends on what type of HW you are running and what you intend to do with it.
THX -
I was thinking of using the LE box as a docker "playground", teaching myself about the features..I was able to get the docker-compose installed on a plain vanilla ubuntu VM. Knowing that LE is a hybrid of sorts, are there specific instructions about how to install on LE ?
If you can't install it on your platform, I believe there is a docker compose docker you can use
This *might* work
1) Create NEW folder to contain the executable
mkdir /storage/bin
2) Add this to $PATH
nano /storage/.profile
PATH=$HOME/bin:$PATH
3) Install docker from the LE addons (May not be needed)
4) Download Docker compose (All one line)
curl -L "https://github.com/docker/compose/releases/download/1.23.1/docker-compose-$(uname -s)-$(uname -m)" -o /storage/bin/docker-compose
5) Make it executable
chmod +x /storage/bin/docker-compose
6) Check to see it works
cd /storage/bin
./docker-compose --version
7) If it all works reboot.
---------------------------------------------------------------------------------------
If all else fails as @aptalca mentioned pull a docker container like this
Display MoreThis *might* work
1) Create NEW folder to contain the executable
mkdir /storage/bin
2) Add this to $PATHnano /storage/.profile
PATH=$HOME/bin:$PATH
3) Install docker from the LE addons (May not be needed)4) Download Docker compose (All one line)
curl -L "https://github.com/docker/compose/releases/download/1.23.1/docker-compose-$(uname -s)-$(uname -m)" -o /storage/bin/docker-compose
5) Make it executable
chmod +x /storage/bin/docker-compose
6) Check to see it works
cd /storage/bin
./docker-compose --version
7) If it all works reboot.---------------------------------------------------------------------------------------
If all else fails as @aptalca mentioned pull a docker container like this
This doesn't appear to still work, is that URL dead?
This doesn't appear to still work, is that URL dead?
Finally I got it working.
Just follow Iridium's post in #5. But for step 4, you need to find the latest release on https://github.com/linuxserver/do…ompose/releases
For my RPi 3B+, I use https://github.com/linuxserver/do…r-compose-armhf. Then place this link back to the code in step 4 as
curl -L "https://github.com/linuxserver/do…r-compose-armhf" -o /storage/bin/docker-compose
and it works like a charm.
I specifically registered just now, to say that I followed Iridium's advice from Nov 18 '18, combined with Libre888's updated info to utilize the latest release directly from https://github.com/linuxserver/do…ompose/releases, and it works perfectly. I now have a 5 year set up exactly as I wanted. Thanks!
as Linux-server's docker-compose is deprecated it is a bit different now
where I found help as well:
Found this thread by chance and got genuinely curious,
Which use cases do you see for Docker here?
I mean LE is aimed at running kodi. It's its sole purpose.
The only thing I can think of is a torrent client, but then you have kodi competing for CPU and maybe not getting enough.
I run a home automation system in parallel.
This shall allow me to control the different player (stereo system, TV etc.)