docr 0.1.1

Crystal library for Docker Engine API

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

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

Images

  • ImageList
  • ImageBuild
  • ImageCreate
  • ImageInspect
  • ImageHistory
  • ImagePush
  • ImageTag
  • ImageDelete

Networks

  • NetworkList
  • NetworkCreate
  • NetworkInspect
  • NetworkConnect
  • NetworkDisconnect
  • NetworkDelete

Volumes

  • VolumeList
  • VolumeCreate
  • VolumeInspect
  • VolumeDelete

Exec

  • ContainerExec
  • ExecStart
  • ExecInspect

System

  • SystemAuth
  • SystemInfo
  • SystemVersion
  • SystemPing
  • SystemEvents
  • SystemDataUsage

Contributors

Repository

docr

Owner
Statistic
  • 12
  • 3
  • 0
  • 2
  • 1
  • 2 months ago
  • February 2, 2021
License

MIT License

Links
Synced at

Thu, 21 Nov 2024 05:01:33 GMT

Languages