This Bash script may be executed on a terminal or by a task scheduler such as cron and it does the following:
- Install Docker;
- Install Docker Compose; and
- Provide Docker Compose with execute permission.
A detailed walk-through is available here.
Get started in three simple steps:
- Download a copy of the script;
- Provide the script with execute permission; and
- Run the script.
Download a copy of the script with git clone
.
$ git clone https://github.com/kurtcms/docker-compose /app/docker-compose/
Provide the script with execute permission.
$ chmod +x /app/docker-compose/docker-compose.sh
Run the script.
$ /app/docker-compose/docker-compose.sh
And have Docker Compose installed.