Last active
February 18, 2017 10:44
-
-
Save stephencoe/83597c7391ee503a43ae346312a5d54e to your computer and use it in GitHub Desktop.
Install docker-compose on CoreOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cloud-config | |
# Uses the docker-compose alpine image | |
# https://docs.docker.com/compose/install/#/install-as-a-container | |
coreos: | |
units: | |
- name: install-docker-compose.service | |
command: start | |
content: | | |
[Unit] | |
Description=Install docker-compose | |
[Service] | |
Type=oneshot | |
ExecStart=/usr/bin/mkdir -p /opt/bin/ | |
ExecStart=/usr/bin/curl -o /opt/bin/docker-compose -sL https://github.com/docker/compose/releases/download/1.11.1/run.sh | |
ExecStart=/usr/bin/chmod +x /opt/bin/docker-compose |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment