Git Product home page Git Product logo

godoremi's Introduction

Golang Docker Remote API (daemon mode)

Still very simple but I hope it will continue to grow. join us and make this some code for fun. Do not forget to give criticism and advices, clone and contribute! :)

Docker API Support

Godoremi can support docker API v1.24 or higher

Build and run

  1. Get
    go get -u -v github.com/orcinustools/godoremi
    
  2. Build app
    go build
    
  3. Install it
    make install
    
  4. Then start it with systemd
    sudo systemctl start godoremi
    
    or
    sudo service godoremi status
    
  5. And you can see status of the service with
    sudo systemctl status godoremi
    
  6. Browse to http://localhost:4125/

Available endpoint

Misc

  • GET / See the system-wide information
  • GET /version Show the docker version information
  • GET /networks List networks
  • GET /networks/:id Inspect network
  • GET /ping Ping the docker server
  • GET /events Monitor the Docker's events

Images

  • GET /images List all of the images
  • GET /images/search Search images
  • GET /images/inspect/:name Inspect an image
  • GET /images/history/:name Display history an image

Containers

  • GET /containers List all of the running containers
  • POST /containers/create Create a container
  • POST /containers/start/:name Start a container
  • POST /containers/restart/:name Restart a container
  • POST /containers/rename/:name Rename a container
  • POST /containers/stop/:name Stop a container
  • POST /containers/kill/:name Kill a container
  • GET /containers/inspect/:name Inspect a container
  • GET /containers/top/:name List processes running inside a container
  • GET /containers/changes/:name Inspect changes on a container’s filesystem
  • GET /containers/stats/:name Get container stats based on resource usage
  • GET /containers/logs/:name Get container logs
  • GET /containers/export/:name Export a container
  • GET /containers/resize/:name Resize a container TTY
  • GET /containers/update/:name Update a container

Volumes

  • GET /volumes List all of the volumes
  • GET /volumes/:name Inspect an volume

Services

  • GET /services List all of the services

Tasks

  • GET /tasks List all of the tasks

Nodes

  • GET /nodes List all of the nodes

Systems

  • GET /system/usage Get data usage information

godoremi's People

Contributors

achmiral avatar imamdigmi avatar wejick avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

wejick herpiko

godoremi's Issues

New Structure for godoremi

Godoremi is good idea with working implementation, however the current implementation will make further improvement difficult.
What we need to do in this new structure :

  1. More idiomatic go code and structure
  2. Using proper http router
  3. Flexible configuration

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.