Skip to content

There is no usermod command on macOS for Docker instructions

I am trying to follow these instructions, but when running the

sudo /usr/sbin/usermod -aG docker $(whoami)

I obviously get the

sudo: /usr/sbin/usermod: command not found

error message. Can you be kind to also add macOS instructions for example using dscl?