docr

Crystal library for Docker Engine API docker docker-engine-api
HEAD Latest release released

docr

CI

Docker client for Crystal.

Description

Remaining issues:

  • [ ] Test all endpoint functions
  • [ ] Make sure models are complete
  • [ ] Extend client to support calls over network

PRs are always welcomed!

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      docr:
        github: marghidanu/docr
    
  2. Run shards install

Usage

require "docr"

Supported API calls

Containers

  • [x] ContainerList
  • [x] ContainerCreate
  • [x] ContainerInspect
  • [x] ContainerTop
  • [x] ContainerLogs
  • [x] ContainerChanges
  • [ ] ContainerStats
  • [x] ContainerStart
  • [x] ContainerStop
  • [x] ContainerRestart
  • [x] ContainerKill
  • [ ] ContainerUpdate
  • [ ] ContainerRename
  • [x] ContainerPause
  • [x] ContainerUnpause
  • [ ] ContainerAttach
  • [x] ContainerWait
  • [x] ContainerDelete

Images

  • [x] ImageList
  • [x] ImageBuild
  • [x] ImageCreate
  • [x] ImageInspect
  • [x] ImageHistory
  • [x] ImagePush
  • [x] ImageTag
  • [x] ImageDelete

Networks

  • [x] NetworkList
  • [x] NetworkCreate
  • [x] NetworkInspect
  • [ ] NetworkConnect
  • [ ] NetworkDisconnect
  • [x] NetworkDelete

Volumes

  • [x] VolumeList
  • [x] VolumeCreate
  • [x] VolumeInspect
  • [x] VolumeDelete

Exec

  • [x] ContainerExec
  • [x] ExecStart
  • [x] ExecInspect

System

  • [x] SystemAuth
  • [x] SystemInfo
  • [x] SystemVersion
  • [x] SystemPing
  • [x] SystemEvents
  • [ ] SystemDataUsage

Contributors

docr:
  github: marghidanu/docr
  
License MIT
Crystal >= 0.36.1

Authors

Dependencies 1

Development Dependencies 0

Dependents 1

Last synced .
search fire star recently