docker exec by container name code example
Example: docker exec bash
//For executing commands in the container
docker exec -it <CONTAINER_NAME> bash
//For executing commands in the container
docker exec -it <CONTAINER_NAME> bash