docker run w flag code example
Example 1: docker run command on container
sudo docker exec -it <container name> <command>
Example 2: docker it flag
docker container run -it ubuntu bash
sudo docker exec -it <container name> <command>
docker container run -it ubuntu bash