DEV Community

loading...

Discussion on: Learn Docker basics quickly!

Collapse
chandrika56 profile image
Jaya chandrika reddy Author

Very good question.As long as any other container doesn't start with 6f, you can use 6f. Suppose container A has id '6fedstk' and B has id '6fesyiu', you have to choose atleast 6fed to represent A, to make them distinguished

Hope it was clear. Do ask for more doubts😄

Collapse
stamper profile image
Alexander Toropov

here is the screenshot from console ibb.co/pQXXgZX

Collapse
stamper profile image
Alexander Toropov

it doesn't work for me :(

Thread Thread
chandrika56 profile image
Jaya chandrika reddy Author

May i know the container id names and the command you used?

Thread Thread
stamper profile image
Thread Thread
chandrika56 profile image
Jaya chandrika reddy Author

Try docker stop fdd

Let me know what happens

Thread Thread
chandrika56 profile image
Jaya chandrika reddy Author

Try docker stop fdd

Let me know what happens

Thread Thread
stamper profile image
Alexander Toropov

it seems that's my bad. I'm terribly sorry.
it doesn't work for the whole container ID as well
those containers just were not started
I thought the error message will be slightly different, like 'the container is not started yet'

Thread Thread
chandrika56 profile image
Jaya chandrika reddy Author

Glad you found the solution 😄

Collapse
developertharun profile image
Tharun Shiv

Didn't know that. Thanks for letting us know ma'am 👍

Some comments have been hidden by the post's author - find out more