open terminal in docker container code example
Example 1: docker access container
docker exec -it bash
docker exec -it sh ##for alpine
Example 2: docker run command on container
sudo docker exec -it
Example 3: docker how to run existing container
docker start