FAQ: usermod : group "docker" does not exist

If you are getting this error,Then docker group isn’t available in your workspace.

Use
sudo groupadd docker
to add Docker as a group and then proceed.