docker run command on container

Shell
sudo docker exec -it <container name> <command>
Source

Also in Shell: