docker run give container name code example
Example 1: docker run name
docker run --name <container name> -dp <local port>:<container port> <image>
Example 2: docker it flag
docker container run -it ubuntu bash
docker run --name <container name> -dp <local port>:<container port> <image>
docker container run -it ubuntu bash