Skip to content

Lucasbrunoferreira/manager-docker-with-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Manager Docker Server with Python SDK

API HTTP to manipulate images and container of a server with Docker

Prerequisites

On your server you need to have installed: Python3, Docker and git.

Installing

  • clone the repository in your server
  • pip install -r requirements.txt
  • python server.py

Usage

http://yourhost.com/docker/image/pull
body: { "docker_img", "image_tag }

http://yourhost.com/docker/container/update
body: { "container_name", "image_tag }

http://yourhost.com/docker/container/run
body: { "docker_img", "container_name }

http://yourhost.com/docker/container/remove
body: { "container_name }

Authors

Lucas Bruno Ferreira

License

This project is licensed under the MIT License

About

API to manipulate images and container of a server with Docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages