Public Repository

Last pushed: 7 months ago
Short Description
Alpine based docker-compose without python runtime
Full Description

Alpine based docker compose without python runtime using a specifically docker-compose alpine compatible binary.

Builder

You can look at how the binary is built on Github repository: https://github.com/big0rn0/alpine-docker-compose-builder

Download binary

wget https://github.com/big0rn0/alpine-docker-compose-builder/releases/download/1.11.2/docker-compose \
-O /usr/local/bin/docker-compose && chmod +x /usr/local/bin/docker-compose

How to use

Create docker-compose.yml file

tee ./docker-compose.yml <<-'EOF'
---
version: "3.1"
services:
  web:
    image: nginx:latest
    ports:
      - 80:80
EOF

Run with local docker socket

docker run -w /test \
                  --rm -it \
                  -v /var/run/docker.sock:/var/run/docker.sock \
                  -v ${PWD}/docker-compose.yml:/test/docker-compose.yml:ro \
bigorn0/docker-compose up -d && \
docker-compose logs -f
Docker Pull Command
Owner
bigorn0

Comments (0)