How to lock the container's code

Hey,

I’m using Docker in order to encapsulate the code into a container.

I’ve been required to make the code encapsulated in EXE file (executable standalone), because this way, the code isn’t visible or accessible to the client.

However, using Docker lets me easily keep versioning the code, without implementing furthermore in the code for connecting to the server or updating the code itself, like I’d have to keep using the docker.

Could a container be locked for clients to access the code within it?
Other options:

  • Restrict permissions
  • Obfuscate code
  • etc?

Thanks

Questions about how to protect your intellectual property inside a container comes up occasionally. Short answer: the same way as you would have to do it without containers.

Here is one of the other discussions:

2 Likes