DEV Community

Discussion on: One of those wtf moments when using docker

Collapse
zaffja profile image
Zafri Zulkipli Author

When I first found out about this, I had the same thoughts as well. But eventually I encounter more and more problems regarding permissions, thus making me trade security for convenience.

Although I highly don't recommend doing this for production applications as well. But I just use this for my pet projects as well as for learning purposes.

Collapse
dmfay profile image
Dian Fay

It still seems like you're going to a lot of trouble for it compared to setting NOPASSWD: ALL in sudoers. And it's easy to forget what you did in a makefile and publish it.