running commands in docker container code example
Example 1: docker run command on container
sudo docker exec -it <container name> <command>
Example 2: docker how to run existing container
docker start <container-name/ID>
sudo docker exec -it <container name> <command>
docker start <container-name/ID>