Securing your Containerised Models and Workloads
Switch to a non-root user!
Published in
8 min readOct 24, 2023
Containerisation is now the de facto means of deploying many applications, with Docker being the forefront software driving its adoption. With its popularity also comes the increased risk of attacks [1]. Hence it will serve us well to secure our docker applications. The most fundamental means of doing this is to ensure that we set the user within our containers as a non-root user.
CONTENTS
========
Why use non-root?
What you can & cannot do as a default non-root user
The Four…