0

We have built the Django application dockerized till now there was no issue since we were hosting solution for a client, but now we also need to support in-house deployment which means my docker will be installed at the client machine. I see from the root access I can copy the files inside the docker. How we can save the copy issue from inside docker.

How to add such security in my docker? Please suggest.

Reza Mousavi
  • 4,420
  • 5
  • 31
  • 48
  • Take a look at [Encrypted and secure docker containers](https://stackoverflow.com/questions/26006727/encrypted-and-secure-docker-containers) and [How to prohibit access to internals of Docker container?](https://devops.stackexchange.com/questions/1116/how-to-prohibit-access-to-internals-of-docker-container) because they are mentioning a few ideas that you might consider to apply to your case. – tgogos Oct 15 '18 at 09:53
  • 2
    Possible duplicate of [Is distributing python source code in Docker secure?](https://stackoverflow.com/questions/51552706/is-distributing-python-source-code-in-docker-secure) – David Maze Oct 15 '18 at 11:42
  • You can use cython and convert all python files to .so files. read https://medium.com/@shvkrn.s/101-python-code-obfuscation-using-cython-a6ae3af9b913 – mrash Feb 05 '23 at 03:00

0 Answers0