Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
It is highly plausible that it's about sudo. You shouldn't set up docker to require sudo. Other than being a security problem, your IDE which doesn't run using sudo will not be able to access and use any docker command. Internally, it is most likely getting a permission denied error.
In theory, no. It is fixable. You can try following this doc docs.docker.com/engine/install/linux-postinstall on how to not require sudo. And then see if is enough (In short, you need to your user to the docker group and fix some permissions).
sudo
?sudo
. You shouldn't set up docker to requiresudo
. Other than being a security problem, your IDE which doesn't run using sudo will not be able to access and use any docker command. Internally, it is most likely getting a permission denied error.sudo
. And then see if is enough (In short, you need to your user to the docker group and fix some permissions).