Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Docker Compose Wrapper

Use Docker Compose without installing it.

What it is

Docker Compose is a Python program that orchestrates Docker containers. But if you have Docker, you don't want to install and manage a Python program. So here is a bash function that runs a Docker container that runs Docker Compose... which runs Docker.

How to use it

Source the docker-compose-wrapper script from your .bashrc. Then, use docker-compose commands like usual.

Demo

$ . docker-compose-wrapper
$ type docker-compose
docker-compose is a function
docker-compose ()
...
$ docker-compose run --rm test
I am a very busy box
Removing compose_test_run_1...
Docker Pull Command
Owner
kojiromike

Comments (0)