Skip to content

Use a Carina control panel session ID to interact with the Docker remote API.

Notifications You must be signed in to change notification settings

getcarina/docker-control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Control

A simple REST-ish API that allows a Carina control panel user to interact with their clusters.

Behind the scenes, it uses the Carina control panel session ID to download the credentials bundle for the requested cluster and then proxy the request to the matching Docker remote API endpoint.

Installation

$ docker build -t docker-control .

Running

Be sure to provide the following environment variables:

  • REDIS_HOST: The hostname of a Redis instance
  • CARINA_CP_URL: The publicly-accessible URL of the Carina control panel API. In production, this is https://app.getcarina.com/api.
docker run -d \
--name docker-control \
-e REDIS_HOST=${REDIS_HOST} \
-e CARINA_CP_URL=${CARINA_CP_URL} \
--restart unless-stopped \
docker-control

About

Use a Carina control panel session ID to interact with the Docker remote API.

Resources

Stars

Watchers

Forks

Packages

No packages published