Docker Community Forums

Share and learn in the Docker community.

Saving or exporting to TAR is exposing my binary inside the TAR, How do i prevent docker save or export OR how i can prevent the exported TAR file containing my sensitive binaries inside?

Saving or exporting to TAR is exposing my binary inside the TAR.

How do i prevent docker save or export to save my container as TAR file ?
OR
How i can prevent the exported TAR file containing my sensitive binaries inside ?

When I dotar xvf mycontainer.tar this is giving out my sensitive binary files. (Or added contents)

I want security measures tools and methods to prevent this issue.