dockerdeploy

command module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

README

Docker deploy

Go

This process is a daemon that:

  • exposes a web server that can trigger a docker pull
  • refreshes (replaces) a running container
  • remembers which containers it's managing and knows the state

TODO

  • read config file
  • decide on which docker arguments to support

API endpoints

  • /api/v1/refresh - refresh a single container
    • method: POST
    • data: `{"image": "string", "name": "string", "force": "boolean"}"
  • /api/v1/list - list status of known containers
    • method: GET
  • /api/v1/status/<containername> - get the status of a single container
    • method: GET

Documentation

Overview

Manage docker containers and trigger refreshes on command

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL