container-structure-test icon indicating copy to clipboard operation
container-structure-test copied to clipboard

validate the structure of your container images

Results 104 container-structure-test issues
Sort by recently updated
recently updated
newest added

This tool outputs logs with records like this one: ``` time="2018-11-23T22:18:33Z" level=info msg="Extracting image tar to obtain image file system" ``` These records contain timestamps, therefore, logs have different hash...

bug
help wanted
good first issue

When testing some image, we need copy some local file to the image and verify whether it work well or not. The "Setup" field was a set of command running...

enhancement
help wanted

[In this sample yaml](https://github.com/GoogleCloudPlatform/container-structure-test/blob/master/tests/debian_test.yaml), `apt-get` command's arg is `help`. Certainly, `apt-get` accepts `help`. However, I think that `--help` is easier than `help` ([apt-get reference](https://linux.die.net/man/8/apt-get)) for people who refer to this...

enhancement
help wanted

We should add support for testing containers inside https://github.com/google/gvisor. Would be a great addition for testing containers built inside gVisor with https://github.com/GoogleContainerTools/kaniko

enhancement
help wanted

Entrypoint in the image is `[]`. If I create the following metadata test: ``` metadataTest: entrypoint: [""] ``` it will fail with error message: ``` --- FAIL: TestAll/Metadata_Test (0.00s) structure.go:179:...

bug
help wanted
good first issue

Currently, a new driver is created for each individual test as a way to run tests in isolation. This is fine for the docker driver, but for the tar driver...

enhancement

For example, `FileExistenceTests` and `FileContentTests` have almost the exact same high level implementation. We should refactor these to implement a shared `BaseTest` type, with `CommandTests` extending that to have a...

enhancement
help wanted

Hi, I'm using this yaml for testing my Debian container : ``` commandTests: - name: "package_locales" command: "dpkg" args: ["-l", "locales" ] exit_code: 0 - name: "package_htop" command: "dpkg" args:...

documentation

Full list of fields is here: https://github.com/docker/engine-api/blob/master/types/container/config.go#L36 In my case I'm preparing nginx image which should be compatible with openshift. That's why I would like to test `"User": "nginx".

enhancement
help wanted