docker run with command line code example
Example 1: docker run command on container
sudo docker exec -it <container name> <command>
Example 2: start a docker container
$ docker start <container_id>
sudo docker exec -it <container name> <command>
$ docker start <container_id>