Sign inSign up

ehames/docker-bootstrap

By ehames

Updated about 10 years ago

Docker bootstrap provides an easy way to ship your docker-compose file.

Image
0

1.1K

ehames/docker-bootstrap repository overview

docker-bootstrap

Docker bootstrap provides an easy way to ship your docker-compose file.

How to use it

  1. Create a Dockerfile that extends ehames/docker-bootstrap image (https://hub.docker.com/r/ehames/docker-bootstrap/)
  2. Copy your docker-compose.yml to the image (default location /etc/docker-compose/docker-compose.yml) a. If you copy the file to a different location, set the COMPOSE_FILE environment variable.
  3. Build and upload it to your registry
  4. Run the container and all images will be downloaded and launched automatically:
docker run -it --rm  -v /var/run/docker.sock:/var/run/docker.sock <your-image>

Tag summary

Content type

Image

Digest

Size

9.7 MB

Last updated

about 10 years ago

docker pull ehames/docker-bootstrap