0

When i want to open shell of container when start container i get this error

I use this command :

docker start -i <Container name> sh

but get this error :

you cannot start and attach multiple containers at once

Problem create when docker app is a console application and when i start container in Ubuntu console is run and can't write any command

How can i fix this problem?

enter image description here


enter image description here

1 Answer 1

0

Answer found. For console app doesn't run in command line we must remove -i to container doesn't run as interactive :

docker start <Container name>

next execute as manual way :

docker exec -it <Container name> sh

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .