Skip to content
This repository has been archived by the owner on Dec 2, 2019. It is now read-only.

yldio/docker-compose-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Compose API

build

docker build -t docker-compose-api . 

run

local:

docker run -p 4242:4242 -d docker-compose-api

remote:

docker run \
-v "/local/path/to/docker/cert":"/usr/src/cert" \
-e DOCKER_CERT_PATH=/usr/src/cert \
-e DOCKER_HOST="http://us-sw-1.docker.joyent.com:2376" \
-e DOCKER_CLIENT_TIMEOUT=300 \
-e COMPOSE_HTTP_TIMEOUT=300 \
-p 4242:4242 \
-d \
docker-compose-api

without docker:

DOCKER_CERT_PATH="/Users/ramitos/.triton/docker/raoulmillais@us-sw-1_api_joyent_com" DOCKER_HOST="http://us-sw-1.docker.joyent.com:2376" python3 bin/docker-compose