In the last lecture, you saw the AWS-specific command for installing Docker on a Linux machine:

amazon-linux-extras install docker

Of course you might not always want to install it on a AWS EC2 instance though - maybe you are using a different provider.

In that case, you can always follow the Linux setup instructions you find on the official Docker page: https://docs.docker.com/engine/install/ (under "Server").