Installing Docker on local
Docker can be used locally to test functionality of many services we are using in our deployment environments.
Implementing sudo-less docker commands
Normally, you will have to use sudo to run any docker commands on your machine, which also prompts for a password. This can get annoying very quickly, so here's a way to go "sudoless" on docker:
1. Add yourself to the docker group:
1. sudo usermod -a -G docker your_username
2. Confirm that you are now part of the docker group:
1. groups
3. Log out of your user account and log back in
4. You should now be able to run docker commands without sudo, enjoy!