What do -d and --name my-nginx accomplish in docker run -d --name my-nginx nginx?
-d
--name my-nginx
docker run -d --name my-nginx nginx
Delete the Nginx image after startup
Open an interactive shell and force a random name
Publish every container port on the host
Run the container detached and assign it the name my-nginx
my-nginx