Configuration for my Docker machines
Defines machines for docker-machine and their compose files, while integrating the two via a small shell script.
A directory structure is expected as follows:
/machine.env /docker-compose.yml
The machine.env file accepts any environment variable known for running docker-machine commands (see docker-machine create --help).
MACHINE_DRIVER for specifying the driver to use with machine.
MACHINE_GENERIC_IP_ADDRESS for configuring generic machines, as machine itself does not support a variable for this.
This utility can be self-hosting on Docker.
From a directory containing machine definitions:
$ docker run -v $PWD:/machines ewindisch/machine-compose
Content type
Image
Digest
sha256:efdef31d3…
Size
180.1 MB
Last updated
over 8 years ago
docker pull ewindisch/machine-compose