News for hackers. Stuff that matters.
Re:Show HN: Ultimate Plumber – a tool for writing Linux pipe... by traverseda on Wednesday October 24, 2018 @12:22PM (#18293822)
Docker is an obviously bad solution to this. If you can run a docker file you defacto have root on that computer ^1.

Firejail could do exactly the same thing, but without requiring the user running it download an entire second operating system, or requiring them to have root. Also, the sandboxing mechanisms that docker uses are just generally available and aren't hard to use, so if they went that way they may as well just use the actual syscalls that do what they want instead of importing and entire other operating system to run your commands.

This is where my rant about docker, and the habits it encourages, would go. If I could figure out a way to phrase it politely.

1: https://github.com/moby/moby/issues/9976

Re:Show HN: Ultimate Plumber – a tool for writing Linux pipe... by akavel on Wednesday October 24, 2018 @02:06PM (#18294860)
Wow, firejail seems super interesting, thanks a lot for the idea and mention! I'm not sure if I'll manage to use it, but certainly a good direction for some further research!

https://firejail.wordpress.com/

Re:Show HN: Ultimate Plumber – a tool for writing Linux pipe... by fwip on Wednesday October 24, 2018 @04:32PM (#18296089)
Docker containers don't need to be (and often aren't) "entire operating systems." Good point about it requiring root, though.
Re:Show HN: Ultimate Plumber – a tool for writing Linux pipe... by michaelmior on Wednesday October 24, 2018 @07:14PM (#18297286)
The problem I was suggesting could be solved Docker wasn't with the privileges of up itself, but the problem of commands you write within up being potentially destructive. I didn't say I thought Docker was a good solution.