docr
Version, currently 0.1.45 versions
github.com/marghidanu/docr
Crystal library for Docker Engine API
17 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
docr:
github: marghidanu/docr
version: ~> 0.1.4Then run:
shards installshard.yml
- Crystal
>= 0.36.1- License
- MIT
- Author
- Tudor <tudor@marghidanu.com>
Dependencies
Runtime Dependencies
- crystar*github: naqvis/crystar
README
# docr

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`:
```yaml
dependencies:
docr:
github: marghidanu/docr
```
2. Run `shards install`
## Usage
```crystal
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
- [Tudor Marghidanu](https://github.com/marghidanu) - creator and maintainer
- [Troy Sornson](https://github.com/Vici37) - contributorDocumentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.1.4- Tagged
- Jan 20, 2026
- Commit
95cd8433edcf- Crystal
>= 0.36.1- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/marghidanu/docr
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 13, 2026
- Synced
- Aug 13, 2026
- Versions
- 5