This is a simple fix that adds a check for whether the user running the script is in the docker group or not. If they are, the command is run without sudo, if they are not, it's the same command with sudo and a message pointing out you can avoid that.
This is a simple fix that adds a check for whether the user running the script is in the
dockergroup or not. If they are, the command is run withoutsudo, if they are not, it's the same command withsudoand a message pointing out you can avoid that.Fixes #3.