ContainerOptionsBuilder::entrypoint
now correctly takes anIntoIterator<Item = AsRef<str>>
instead of&str
#269- make
config
field ofImageDetails
optional #264 - add
container
,container_config
,os_version
,graph_driver
,root_fs
,metadata
fields toImageDetails
#264 - rename
shiplift::rep::Config
toshiplift::rep::ContainerConfig
#264 - add missing fields (API version 1.41) to
ContainerConfig
#264 - add missing fields (API version 1.41) to
History
#264 - add missing fields to
NetworkEntry
#254 - PullOptionsBuilder now adds a
latest
tag by default #261 Image::pull
,Image::build
andImage::import
now return a stream ofImageBuildChunk
instead ofjson::Value
#262- rename
Config
toContainerConfig
#266 HostConfig.port_bindings
inner elements now have a clear typePortBinding
instead ofHashMap<String, String>
#266ContainerDetails
contains new fields #266- Units of
ContainerInfo
size_rw
andsize_root_fs
units changed to match API #266
- async-await support #229
- add multiple fields to
shiplift::rep::Version
#212 - add
image_id
andstate
fields toshiplift::rep::Container
#213 - add
ContainerOptionsBuilder::publish_all_ports()
#215 - re-export
hyper::Uri
asshiplift::Uri
#209 shiplift::builder::ImageListOptionsBuilder::all()
no longer accepts an argument and always sets the option to true #211- add
repo_tags
,repo_digests
fields toImageDetails
#222 - add
status
field to container State #221 - support for specifying user when creating container #220
- add
nano_cpus
andmemory_swap
toContainerOptions
#230 ContainerOptionsBuilder::env()
signature changed #237- allow attaching to containers when connecting to Docker daemon via UNIX socket #238
- support for uploading tar to container #239
- fix registry authentication to use URL-safe base64 encoding #245
- add StopSignal and StopTimeout to ContainerOptionsBuilder #248
- update lifetimes of various methods to avoid
temporary value dropped while borrowed
errors #272
- add chrono as an optional feature, enabled by default #190
- introduce new
vendored-ssl
cargo feature flag enabling the open ssl's cratesvendored
feature #197 - added publish method to expose a port #198
- replace host str to use https if encrypted #193
- added image tag feature #187
- added image import feature #165
- make tls an optional dependency #130
- impl copy from container #150
- add registry authentication #157
- added exposted ports #162
- support multiple messages per chunk in streaming image pull #154
- migrate serde dependency to use derive feature #152
- add ContainerOptionsBuilder::privileged() #149
- support for Userns Mode #147
This release brings a number of breaking changes, all hopefully considered to be good :), and some new process to help track future changes. Some notable changes are listed below. The best source of truth will be the updated rustdocs as well as example programs in this repositories examples
directory
- upgraded to Rust 2018 edition #141
- create, list, and delete volumes #138
- support for AutoRemove flag #137
- support interactive stdin/stdout streams #136
- remove an unused type parameter from the 'nocache' function #135
- support for setting CPU shares/memory for image builder #134
- container Network Aliases #133
- disable Hyper's http protocol enforcement (fixes windows issue) #129
- switch to async api #128
- add
expose
option for ports on container builders #127 - removed public {Entity}Builder.new() constructors. Use
{Entity}.builder()
interfaces to construct these instead #125 - repo labels are now optional #102
- interlacing tty #101
- migrate to serde and update struct field names to line up with rust's snake_case conventions #100
- update
byteorder
andflate2
dependencies #99 - add
Type
,Action
,Actor
#98 - add representations of
NetworkSettings#Networks
#97 - remove
MemoryStat#{swap,total_swap}
#96 - make
Image#RepoTags
an Option type #95 - add
ContainerDetails#Name
#93 - make unix socket support optional to enable windows use #92
- upgrade to
[email protected]
#91 - change
SearchResult#is_trusted
toSearchResult#is_automated
#89 - add container builder option for memory #86
- allow
HostConfig#MemorySwap
to be negative #87
- upgraded to hyper 0.10
- added interfaces for container log_driver, restart_policy
- added container exec interface
- added docker network interfaces
- added support for
CapAdd
onContainerOptions
#32 - changed representation of
OnBuild
from aString
to `Ve r exists in remote api #20 - remote ExecutionDriver from info which no longer exists in remote api
- add more options to ContainerOptions creation interface #23
- fix volume parameter #24
- make id and event optional for event reps to accommodate new network type events #26
- set a host header for unix domain socket interface due to a golang impl detail in newer versions of the docker daemon #27
- implement std error trait for shiplift's error type to make it play nicely with other error handling tools #28
- changed
failcnt
field onstats.memory_stats
toOption<u64>
as it is not always returned in newer versions of the docker remote api. - removed
size
field in image listings as its returned as -1 in newer remote api versions
- removed
Body
type with a preference forInto<hyper::client::Body>
- implemented
Image.build
- renamed
Image.create
toImage.pull
to avoid confusion withImage.build
and addedPullOptions
argument and return type of iterablePullOutput
- many breaking changes required to make interfaces consistent, idiomatic, and future friendly
- better error representations
- improve (remove) mut in interfaces where it was no longer needed
- update deps
- refactor to use hyperlocal for better unix domain socket transport support
- expose Config env as a map instead of a vec of strings
- add support for export containers and image
- Update dependencies
- Added events interface
- Initial release