A quick and easy way to test if Docker is running correctly is to run this command:

$ docker run -p 80:80 nginx

Let it set up and it will start a web server and expose port 80, so opening http://localhost on the browser (which defaults to that port since we're using http) should give you a nice "Welcome to nginx!" page, which means a Docker container is running.

Previous on Docker