Age | Commit message (Collapse) | Author |
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
|
|
Allow multiple filters of same type and fix ExitCode filter name
|
|
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Added volume driver support
|
|
Fix incorrect return type of Networks::list
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
|
|
|
|
Moved and renamed NetworkInfo nee rep::Network to container::NetworkStats
|
|
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Add Docker API reference hyperlinks to doc comments
|
|
Fix clippy lints
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fix: Dot should be in quotes
|
|
Add Containers::get_checked() for getting an existing container
|
|
Containers::get() does always return a handle to a container, which
might be invalid.
This function checks whether the container exists before returning
either a Some(Container) or None.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
* Add missing fields to `ImageDetails` and `History`
* Make some fields in `ContainerConfig` required
|
|
* Fix `entrypoint` field in ContainerOptions
* Update CHANGELOG
Co-authored-by: Doug Tangren <d.tangren@gmail.com>
|
|
* Some changes
* Clarify lifetimes in transport.rs
* Fix remaining easy lifetimes in lib.rs
* Refactor Images::build for new lifetimes to work
* Fix Exec::start()
* Fix Container::exec()
* Make header_bytes not a Vec
* Make Docker::{images,...}() lifetimes explicit
* Fix Containers::get()
* Remove unnecessary locals from examples
* Update changelog
* Appease clippy
|
|
* Add initial Services models
* Add initial Services controllers
* Add ServicesListOptions
* Rename ServicesList -> ServiceList
* Fix some optional fields on ServiceRep
* Add Service::inspect
* Add Service::delete
* Add Service::logs
* Rename example logs -> containerlogs
* Add ServiceOptions, ServiceCreateInfo, fix typo
* Add a way to pass headers to request, add Payload and Headers for easier
types
* Add Service::create
* Add examples
* Fix fmt
* Fix example
|
|
* Get rid of explicit lifetimes
* more lifetimes ellided
* Fix examples
* Minor fix
|
|
* Add ExecDetails and ProcessConfig
* Add exec_with_id, exec_inspect
* Add example how to inspect an exec instance
* Make clippy happy
* exit_code is an Option on ExecDetails
* Add Exec struct
* Update example
* Fix typo
* Add Exec::resize and ExecResizeOptions
* Add resize example
|
|
|
|
|
|
* Upgrade dependencies and add required features
* Special case for parsing unix:// url in Docker::new
hyper::Uri doesn't allow urls with empty authority, hence parsing
unix:///var/run/docker.sock will fail.
* Remove empty /lib.rs
* Fix cargo fmt
|
|
|
|
* update gh actions ci and fix ci lint errors
* trigger also on master for now
|
|
* add fn for stream post that returns json values
use when pulling docker images, to fix bug where
shiplift would error if multiple JSON values were
returned in a single HTTP chunk
* fix unnecessary lazy evaluation
* add comments to stream post requests
|
|
This type signature makes it impossible to dynamically construct a
Vec<String> of environment variables and pass it to the builder.
This patch tries to fix that by making the function only take a
reference to a slice containing the environments.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
* Implement upload of tar to container
* Fixed typo
Co-authored-by: Eli W. Hunter <42009212+elihunter173@users.noreply.github.com>
Co-authored-by: Eli W. Hunter <42009212+elihunter173@users.noreply.github.com>
|
|
|
|
Co-authored-by: Hampus Lidin <hampus.lidin@astrazeneca.com>
|
|
* Add nano_cpus to ContainerOptionsBuilder
* Add memory_swap to ContainerOptionsBuilder
|
|
* it builds!
* remove unused dependencies
* bump dependencies
* reimplement 'exec' endpoint
* update a few more examples
* update remaining examples
* fix doc tests, remove unused 'read' module
* remove feature-gated async closures
* split futures dependency to just 'futures-util'
* update version and readme
* make functions accepting Body generic over Into<Body> again
* update changelog
* reinstate 'unix-socket' feature
* reinstate 'attach' endpoint
* fix clippy lints
* fix documentation typo
* fix container copyfrom/into implementations
* add convenience methods for TtyChunk struct
* remove 'main' from code example to silence clippy lint
* Update hyper to 0.13.1
* Add Send bounds to TtyWriter
* Appease clippy
* Fix examples
* Update issue in changelog
Co-authored-by: Daniel Eades <danieleades@hotmail.com>
Co-authored-by: Marc Schreiber <marc.schreiber@aixigo.de>
|
|
|
|
|
|
|
|
|