Answers for "install docker-compose coreos"

0

install docker-compose coreos

#!/bin/bash

mkdir -p /opt/bin
LATEST_URL=`curl -Ls -o /dev/null -w %{url_effective} https://github.com/docker/compose/releases/latest`
COMPOSE_VERSION=${LATEST_URL##*/}
DOWNLOAD_URL=https://github.com/docker/compose/releases/download/${COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m`

curl -L ${DOWNLOAD_URL} -o /opt/bin/docker-compose
chmod +x /opt/bin/docker-compose
Posted by: Guest on October-01-2020

Code answers related to "install docker-compose coreos"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language