Do not use sudo if user is in docker group
This MR makes use of sudo
only if the user is not in the docker
group.
However, there is an issue if the user is in a group that contains docker
as a substring.
This MR makes use of sudo
only if the user is not in the docker
group.
However, there is an issue if the user is in a group that contains docker
as a substring.