DEV Community

Discussion on: One of those wtf moments when using docker

kwmlodozeniec profile image

I personally feel using docker for nuke type operations to circumvent potential permission issues is a bad idea. Permissions are a safeguard at the end of the day.

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.

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.