github.com/place-labs/crystal-docker
0.2.0 / published Jun 7, 2021 / repository
Docker Engine API wrapper for crystal-lang
crystal-docker
Docker Engine API wrapper. Provides typed interaction with the Docker Engine API.
Client structure has been designed to mirror API provided by the official python SDK.
Installation
-
Add the dependency to your
shard.yml:dependencies: docker: github: aca-labs/crystal-docker -
Run
shards install
Usage
Read the docs.
Contributing
- Fork it (https://github.com/aca-labs/crystal-docker/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- Kim Burgess - creator and maintainer
- Jerome Gravel-Niquet -
HTTP::ClientandOpenSSLextensions from the original docker.cr lib
API
- Docker
- Hash(K, V)
From Rails https://github.com/rails/rails/blob/master/activesupport/lib/active_support/core_ext/hash/deep_transform_values.rb
- NamedTuple(**T)
A named tuple is a fixed-size, immutable, stack-allocated mapping of a fixed set of keys to values.
- Tools