Closed ghost closed 7 years ago
Inspec does indeed run on the host. That's by (inspec) design.
It connects to the container through the transport (docker exec).
You'll have problems doing things like checking for listening ports or whatever if you're mounting the local docker socket.
-s
On Mar 7, 2017, at 3:35 PM, Wes McNamee notifications@github.com wrote:
I wrote a simple inspec test, but it's running on the host, not the container. Not sure what I'm doing wrong. Any help would be appreciated. Serverspec however is running on the container.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
I wrote a simple inspec test, but it's running on the host, not the container. Not sure what I'm doing wrong. Any help would be appreciated. Serverspec however is running on the container.