docker access running container bash code example
Example 1: docekr enter container
docker exec -it [container-id] bash
Example 2: docker exec bash
//For executing commands in the container
docker exec -it <CONTAINER_NAME> bash
docker exec -it [container-id] bash
//For executing commands in the container
docker exec -it <CONTAINER_NAME> bash