docker run command container name code example
Example 1: docker run name
docker run --name <container name> -dp <local port>:<container port> <image>
Example 2: docker run command on container
sudo docker exec -it <container name> <command>
docker run --name <container name> -dp <local port>:<container port> <image>
sudo docker exec -it <container name> <command>