Re:Linux containers in a few lines of code
by mehrdadn on Wednesday May 13, 2020 @11:39AM
(#23167965)
That doesn't answer my question at all. I'm well aware containers aren't a "real thing". My entire question was about the "if" part that you didn't address. Is anything missed here? is my question.
[ Parent
| on HN ]
Re:Linux containers in a few lines of code
by rantwasp on Wednesday May 13, 2020 @11:50AM
(#23168107)
in theory, it’s a secure as the kernel if your code does the right thing.
that being said, the attack surface is wider than say if you would run it in a VM or its own physical machine
Re:Linux containers in a few lines of code
by mehrdadn on Wednesday May 13, 2020 @11:56AM
(#23168191)
Well obviously "if your code does the right thing" then it's going to be secure rather than insecure... by definition. That's again a pretty unhelpful tautology.
I'm asking about the code in the webpage, not code I'm writing personally. I'm saying let's assume it has error-handling added to it. That's it. I am not writing any code otherwise. Is that code doing "the right thing"? Or are there more things it needs to be doing?