←back to thread

6 points Telstrom90 | 1 comments | | HN request time: 0.202s | source
Show context
adastra22 ◴[] No.44390244[source]
I'm confused--what's the security risk in building a container?
replies(1): >>44391126 #
Telstrom90 ◴[] No.44391126[source]
You're running untrusted code. Every RUN command in a user's Dockerfile is executed during build, which means you're executing arbitrary commands from strangers on your own infrastructure. If you're not isolating that properly, it's a security risk.
replies(1): >>44392775 #
1. adastra22 ◴[] No.44392775[source]
Inside the container though. The whole point of which is that it sandboxes and isolates the running code.