Posts

Showing posts from September, 2022

Docker commands I use Frequently

Image
Nowadays, docker is an integral part of software development. I use it regularly as part of my job and overtime i have found i use some commands lot more frequently compared to others. If you are new to Docker or revisiting docker after a while i hope you will find this list useful.  Setup :   1. Before launching any docker command on your terminal make sure you have downloaded,  installed and started   Docker Desktop  on your system (Mac/Windows/ Linux). 2. On a Mac you should see the docker icon come up in top right corner of status menu bar. Clicking on it you should confirm "Docker Desktop is running" message is appearing and a green icon next to it. Now you are all set to run the below commands. 3. Confirm docker is running well from command line by running below command in terminal:           docker  This should output commonly used docker commands and their brief description. Instead, if you get an error message  Cannot connect to the Docker daemon at unix:///var/run/d