Docker Community Forums

Share and learn in the Docker community.

How I access existing running container from windows 10?

How I access existing running container from windows 10?
every time i access new terminal it open new instance of container, i want to access exiting. I use

docker container ls
docker exec -it e451bc5ed4e9 bash

it open new instead for access existing

Hi

It dosnt start a new instance of the container, it opens ANOTHER session to the container, so when you exec into it, you’re in the running container and can use commands in it.

BUT

You can also connect to the running session, by using:

But depending on the image/container, you will probertly just see log, instead of a terminal