sh: docker-compose: not found @ alpine

less than 1 minute read

You are at alpine and, boom:

sh: docker-compose: not found

Install docker-compose quickly

Just:

apk update
apk upgrade
apk add python python-dev py-pip build-base curl
curl -L https://github.com/docker/compose/releases/download/1.14.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
pip install docker-compose

Change the 1.14.0 with the version found at docker-compose releases.

Tags: , ,

Categories:

Updated:

Leave a Comment