First, of course, you need the Docker platform installed in your environment. There are plenty of options, so I suggest you go the following link and get more details:
https://docs.docker.com/install/
And if you are not familiar with Docker commands, I recommend you have a look at this beautiful cheat sheet:
https://zeroturnaround.com/rebellabs/docker-commands-and-best-practices-cheat-sheet/
You'll also need to create an account at Docker Hub so you can store your own images. Check it out: https://hub.docker.com/.
It's free for public images.