{"repo":"NVIDIA/container-canary","free":true,"listed":false,"github":"https://github.com/NVIDIA/container-canary","clone":"git clone https://github.com/NVIDIA/container-canary.git","description":"A tool for testing and validating container requirements against versioned manifests","language":"Go","stars":306,"topics":["containers","docker","podman","ci","versioning","utilities","kubernetes","automation"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"Container Canary A little bird to validate your container images. Many modern compute platforms support bring-your-own-container models where the user can provide container images with their custom software environment. However platforms commonly have a set of requirements that the container must conform to, such as using a non-root user, having the home directory in a specific location, having certain packages installed or running web applications on specific ports. Container Canary is a tool for recording those requirements as a manifest that can be versioned and then validating containers against that manifest. This is particularly useful in CI environments to avoid regressions in containers. - Container Canary - Installation - Example (Kubeflow) - Validator reference - Validator schema - Metadata - Runtime options - Environment variables - Ports - Volumes - Command - Checks - Exec - HTTPGet - TCPSocket - Delays, timeouts, periods and thresholds - Contributing - Maintaining - License Installation You can find binaries and instructions on our releases page. Example (Kubeflow) The Kubeflow documentation has a list of requirements for container images that can be used in the Kubeflow Notebooks service. That list looks like this: - expose an HTTP interface on port 8888 : - kubeflow sets an environment variable NB PREFIX at runtime with the URL path we expect the container be listening under - kubeflow uses IFrames, so ensure your application sets Access-Control-Allow-Origin: i","default_branch":null,"files":null,"tree":[],"storefront":"/r/NVIDIA","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/NVIDIA/container-canary/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}