exec command inside docker container code example
Example 1: docker exec bash
//For executing commands in the container
docker exec -it <CONTAINER_NAME> bash
Example 2: docker how to run existing container
docker start <container-name/ID>
//For executing commands in the container
docker exec -it <CONTAINER_NAME> bash
docker start <container-name/ID>