What is the effect of docker run -itd --name my-nginx nginx?
docker run -itd --name my-nginx nginx
Create and start an Nginx container in detached mode with the name my-nginx.
my-nginx
Rename the nginx image to my-nginx.
nginx
Build a new image tagged my-nginx from a Dockerfile.
Copy the Nginx image contents into a host directory named my-nginx.