Git Product home page Git Product logo

tsaotun's Introduction

Tsaotun - Python based Assistance for Docker

Table of contents


asciicast

Latest Releases

  • 0.9.3 - Add events commmand, and fix some option problems
  • 0.9.4 - Correct the value of since argument of logs command

Status quo

  • Currently support following commands:

    • tsaotun version, info, events, inspect, images, pull, build, run, save, logs, stats, stop, rename, restart, exec, rmi, rm, ps, top, history, cp
    • tsaotun container inspect, run, logs, stats, stop, rename, restart, exec ,rm, ls, top, cp
    • tsaotun image inspect, ls, pull, build, save, rm, history
    • tsaotun network inspect, ls, create, rm, remove, connect, disconnect
    • tsaotun volume inspect, ls, create, rm, remove
    • tsaotun addon ls, enable, disable, inspect, install, rm
  • Addon feature is testing right now, and each addon should has its own folder with __init__.py inside. Addon folder struture shows like:

$HOME
└───Tsaotun
    └───addons
        ├── addon_A - __init__.py, ...
        ├── addon_B - __init__.py, ...
        └───__init__.py
  • We now have a sample addon called toolbox, and you can check it out to see how to write an addon on your own.

Feature

  • You can run any command docker can run on Tsaotun.
  • It's written in Python with love of API of docker, so you can tune it by yourself!
  • It means you can have your own implementation of docker command line tool. 😏

Install

Normal Way

  1. pip install tsaotun, or
  2. Clone the repo, and python ./setup.py install

Docker Way

  1. Pull from docker hub

    • docker pull qazbnm456/tsaotun
      • docker run --rm -v /var/run/docker.sock:/var/run/docker.sock qazbnm456/tsaotun version
  2. Build it yourself

    • Dockerfile is provided, and you can build it with: docker build -t tsaotun .. Once you finished, you'd like to run any command, such as:
      • docker run --rm -v /var/run/docker.sock:/var/run/docker.sock tsaotun version

Contribute

Linux Windows MacOSX
Compatibility Docker Version Compatibility Docker Version Compatibility Docker Version

Wanna enrich the possibilities that tsaotun can inspire? Send pull requests or issues immediately!

LICENSE

This project use Apache License, Version 2.0.

tsaotun's People

Contributors

qazbnm456 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.