Closed pxds closed 3 years ago
After reading #422 and not seeing a solution for Windows, I kept getting that error until I changed the Dockerfile, adding "sh" to the ENTRYPOINT and it worked. Is that a proper way to buil/drun this container?
ENTRYPOINT [ "/usr/bin/dumb-init", "sh", "docker-bench-security.sh" ]
Hi @pxds, I haven't tested it on Windows but as long as you don't get any errors and everything seems to work, then it's a proper way :)
Hehe then consider it proper :)
After reading #422 and not seeing a solution for Windows, I kept getting that error until I changed the Dockerfile, adding "sh" to the ENTRYPOINT and it worked. Is that a proper way to buil/drun this container?
ENTRYPOINT [ "/usr/bin/dumb-init", "sh", "docker-bench-security.sh" ]