What does --name hello-world do in docker run --name hello-world hello-world?
--name hello-world
docker run --name hello-world hello-world
It assigns the new container the name hello-world.
hello-world
It publishes a host port named hello-world.
It enables an automatic restart policy called hello-world.
It selects the container image; the final argument names a network.