Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

It is pretty well impossible to protect the internals of a docker image. A docker image is essentially a tar file.

Remove all shells

> docker exec :id -it /bin/rm -R /bin/*

That gets rid of sh and any bin useful command in linux.