containerd/cmd/ctr/commands
Akihiro Suda dc131aa862
support loading certs from a directory
Add `remotes/certutil` functions for loading `ca.crt`, `client.cert`, and `client.key` into `tls.Config` from a directory like `/etc/docker/certs.d/<hostname>.

See https://docs.docker.com/engine/security/certificates/ .

Client applications including CRI plugin are expected to configure the resolver using these functions.

As an example, the `ctr` tool is extended to support `ctr images pull --certs-dir=/etc/docker/certs.d example.com/foo/bar:baz`.

Tested with Harbor 1.8.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-03-31 21:48:08 -07:00
..
containers Add ctr c info --spec flag to output spec 2020-03-05 12:10:14 -05:00
content Add option to pull all metadata 2019-08-26 11:05:21 -07:00
events ctr events: do not exit on an error 2020-01-29 13:10:16 +09:00
images Support pushing a specific platform of a multi-architecture docker image to a registry 2019-12-23 17:24:45 +08:00
install Add optional install path 2018-09-11 10:36:00 -04:00
leases *: replace 3600 seconds with 1 hour 2018-08-02 11:40:03 -07:00
namespaces runtime/opts: move WithNamespaceCgroupDeletion from containerd to its own package 2019-08-27 19:02:55 +00:00
plugins create local version of introspection service 2020-01-02 12:34:23 -08:00
pprof enhance: support specific duration for profile collection 2018-10-10 22:57:54 +08:00
run ctr: do not assume runc options by default 2020-03-24 18:45:34 +08:00
shim ctr: make ctr shim command easy to use 2019-05-17 11:56:08 +08:00
snapshots * fix: view snapshot is deleted before diff 2019-07-14 07:06:04 -04:00
tasks cpu metrics consistency 2019-12-17 12:30:12 +02:00
version adding go version to client description 2019-10-06 13:38:51 +02:00
client.go implement ctr -connect-timeout 2019-09-16 13:56:53 +02:00
commands_unix.go Move ContainerFlags to "commands" package 2018-06-20 18:33:59 -07:00
commands_windows.go Adding ctr memory and cpu flags 2018-12-10 13:31:59 -08:00
commands.go support loading certs from a directory 2020-03-31 21:48:08 -07:00
resolver.go support loading certs from a directory 2020-03-31 21:48:08 -07:00
signals.go signals: move ParseSignal to containerd package 2018-09-27 15:53:38 -07:00
utils.go Implemented image encryption/decryption libraries and ctr commands 2019-07-17 15:19:58 -04:00