Is distributing python source code in Docker secure?

Docker images are an open and documented “application packaging” format. There are countless ways to inspect the image contents, including all of the python source code shipped inside of them.

Running applications inside of a container provides isolation from the application escaping the container to access the host. They do not protect you from users on the host inspecting what is occurring inside of the container.

Leave a Comment