kwerle / ide-ruby

Atom package used to integrate https://github.com/kwerle/ruby_language_server with Atom. Development happens on the develop branch. Production is master.
23 stars 6 forks source link

Docker with root permissions #41

Open AlexWayfer opened 2 years ago

AlexWayfer commented 2 years ago

Hello.

I see this package requires Docker, and I have it installed (and launched), but by default, at least on Arch Linux, docker commands require root permissions (like sudo). And I'd not to add my regular user to docker group what would be granted it root privilages.

A bit of wiki: https://wiki.archlinux.org/title/docker#Installation

So, can I somehow install and use this package, probably with execution some commands with sudo docker manually, but without granting docker group to my regular user?

kwerle commented 2 years ago

Hmmm. I'm going to say that it's possible, and you could do sudo scripts and other hacks like that. But they're all hacky and I'd be worried about giving you security advice. Maybe checkout docker desktop for linux https://www.docker.com/blog/accelerating-new-features-in-docker-desktop/ DD4L for a professional solution.