docker access a running container code example
Example: docker access container
docker exec -it <mycontainer> bash
docker exec -it <mycontainer> sh ##for alpine
docker exec -it <mycontainer> bash
docker exec -it <mycontainer> sh ##for alpine