1. either use exec
docker exec -it <container id> sh
2. or ssh
https://stackoverflow.com/questions/30172605/how-do-i-get-into-a-docker-container
E.g. build image:
docker build -f <Dockerfile name> -t <your tag> .
run it:
docker container run -d <name of repo> sleep 1d
Then, list containers with docker ps
to get container ID.