Running CentOS in a Docker container

I’m complete new to Docker specifically and containers in general, but thought I’d try running CentOS in a Docker container. There were a couple non-obvious steps involved that I list here.