github.com/containerd/containerd@v22.0.0-20200918172823-438c87b8e050+incompatible/reports/2017-03-24.md (about) 1 # Development Report for Mar 24, 2017 2 3 ## Container Level Metrics 4 5 * https://github.com/containerd/containerd/pull/646 6 7 We merged a PR to add our first pass of container level metrics to our 8 prometheus output in containerd. We still have to review the metric names and 9 structure before having something we are all comfortable supporting in the long 10 run but we now have comprehensive metrics for all containers running on 11 containerd. 12 13 ## Distribution 14 15 After hitting a major milestone of getting a proof of concept for end to end 16 pull and run, this week the focus was on getting that code in the right place 17 and figure out where the implementation gaps are. 18 19 ### Image to OCI Spec 20 21 * https://github.com/containerd/containerd/pull/660 22 23 We merged support for getting an image config that was pulled off of a registry 24 and generating a spec based on the image properties in the `ctr` command. This 25 will let you pull images off of a registry and run them based on the config and 26 how the image was built. 27 28 Its very simple at the moment but will will be porting over the default spec 29 and generation code from Docker soon into a package that can be easily consumed 30 by clients of containerd. 31 32 You can test this by running: 33 34 ```console 35 bash 36 sudo dist pull docker.io/library/redis:alpine 37 sudo ctr run --id redis -t docker.io/library/redis:alpine 38 ``` 39 40 ### Image handlers 41 42 * https://github.com/containerd/containerd/pull/638 43 44 We refactored the fetch command into a more generic image handler interface. As 45 we look forward to supporting the full oci image spec as well as the Docker 46 distribution specifications, we are removing any opinionated code to make 47 distribution as generalized and efficient as possible. 48 49 ### Image listing now with full image size 50 51 ```console 52 $ dist images 53 REF TYPE DIGEST SIZE 54 docker.io/library/redis:latest application/vnd.docker.distribution.manifest.v2+json sha256:1b358a2b0dc2629af3ed75737e2f07e5b3408eabf76a8fa99606ec0c276a93f8 71.0 MiB 55 ``` 56 57 ## Snapshot driver improvements 58 59 * https://github.com/containerd/containerd/pull/635 60 61 The `overlay` and `btrfs` driver implementations are now fully implemented and 62 share an implementation for metadata storage. This new metadata storage package 63 allows not only making snapshot drivers easier, but allow us to focus on making 64 our existing drivers more resilient and stable once.