Protecting code on image, disabling interactive mode in docker?

I need to share my docker image with a 3rd party and want to protect my code (and binaries) on the image. What are the options available to do so? The 3rd party will use the image via the web APIs exposed.

In addition, I need to disable interactive mode so that root login is not available.

Is such protection feasible?

Curious why no one replied to this - I’m struggling to find an answer to this question anywhere. If it isn’t possible, can someone provide an explanation?

1 Like