Member-only story
Deep Dive into Docker Security
What you should know when using Docker to deploy AI/ML solutions
One of my main motivations for writing this article stems from a particular client’s refusal to adopt the usage of Docker due to concerns related to Docker security and potential user permission escalation within the container itself. As a relatively naïve and green AI engineer doing ML deployment with Docker, I found myself unequipped with the knowledge to address this issue.
A Quick Overview
What is Docker and why is it so popular?
Since its release in 2013, Docker has gained massive traction amongst software companies as it made deployment of containerized microservices extremely convenient and easy. Today, Docker is synonymous with the term containers and containerized microservices.
Needless to say, even in the deployment of Machine Learning models, Docker has been the go to container service as it boasts the following characteristics and offers many benefits including:
- Operating System level virtualization, enabling portability and consistency. As a result of this layer of abstraction, Docker containers are often much faster as compared to virtual machines as there is no need to lumber through the process of spinning-up the operating system…