SyntaxFix
Write A Post
Hire A Developer
Questions
$ docker exec -it <Container-Id> /bin/bash
Or depending on the shell, it can be
$ docker exec -it <Container-Id> /bin/sh
You can get the container-Id via docker ps command
docker ps
-i = interactive
-i
-t = to allocate a psuedo-TTY
-t