First, Make sure that Docker is installed on your machine by running the following command
docker -v
If you havn't install docker already - but i'm sure you did from the docker course days- the docker documentation provides an easy to follow steps to set up docker on your local machine.
For ubuntu users , here you'll find instructions to install it on your machine. Follow this guide