The Container Structure Tests provide a framework to validate the structure of a container image.
226
docker run --rm --privileged -v /var/run/docker.sock:/var/run/docker.sock -v <dir/which/contains/conigfiles>:/test-config/ -e TARGET_NAME=<Image-To-Test> bongladesch/container-structure-test:<tag>
docker pull bongladesch/container-structure-test:0.3.0