@malys the dind use cases are not officially supported yet because the current version relies on mounting a local volume, which isn't always possible with dind. The dind and the docker-based CI support is coming soon in 1.26, which will use another option to add and get container components that doesn't related on volume mounts.
Great tool, guys!
I just need a pointer on my output.
My image contains custom headless chrome(CEF), docker-slim minifies it well, but I run my container it crashes after sometime when I access my container with the following error:
[0100/000000.789662:ERROR:zygote_linux.cc(614)] Zygote could not fork: process_type renderer numfds 5 child_pid -1
[0100/000000.791877:ERROR:zygote_linux.cc(646)] write: Broken pipe (32)
/opt/distrib/init.sh: line 10: 10 Trace/breakpoint trap (core dumped) $PWD/my_browser --no-sandbox --disable-gpu --disable-gpu-compositing
docker-slim build always fails with any of the Go samples untouched. Fwiw, it also fails with my own container ;-)
info=container status=created name=dockerslimk_51426_20191211150105 id=585c79c09a5481a7967948391876a49f67e251f6ee19e618f72ab0fa6e649f01 docker-slim[build]: info=container status=crashed id=585c79c09a5481a7967948391876a49f67e251f6ee19e618f72ab0fa6e649f01 docker-slim: container stdout: docker-slim: container stderr: standard_init_linux.go:211: exec user process caused "exec format error"
I'm on OSX (10.13.6 (17G10021)) with Docker 19.03.5.