dduportal-dockerfiles / oscap4docker

Run oscap for docker from docker !
6 stars 2 forks source link

Shared Lib Errors #2

Open znorris opened 8 years ago

znorris commented 8 years ago

My host machine is Ubuntu 15.10 and get the following errors:

running:

docker run -v $(which docker):/usr/bin/docker -v /var/run/docker.sock:/var/run/docker.sock -v $(pwd):/reports dduportal/oscap4docker:1.0.0 image-cve ubuntu:14.04 --results /reports/oval-results-file.xml --report /reports/oval-report.html

-v /lib/x86_64-linux-gnu/libapparmor.so.1:/lib/x86_64-linux-gnu/libapparmor.so.1 doesn't seem to help.

/usr/bin/docker: error while loading shared libraries: libapparmor.so.1: cannot open shared object file: No such file or directory
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors

Perhaps related to https://github.com/SvenDowideit/dockerfiles/issues/17

dduportal commented 8 years ago

Hello !

I have recently updated the tests to fit to latest version of wether docker and openscap. After re-enabling my personal CircleCI build, i can reproduce the problem localy and in Cirlce : https://circleci.com/gh/dduportal/container-compliance/1

Work in progress

dduportal commented 8 years ago

Hello !

I've sent a PR to the main repo: https://github.com/OpenSCAP/container-compliance/pull/10

Can you try with my latest image here: https://hub.docker.com/r/dduportal/container-compliance/ (instead of dduportal/oscap4docker) ?