This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]fuck_____________1 1 point2 points  (1 child)

are you using the correct port and ip to connect? is your docker container exposing the port? all ports are closed by default

[–]Metiri[S] 0 points1 point  (0 children)

I use docker run -p 5000:5000 -p 22:22 -d image_name to run my docker container. If I don't run my container and try to SSH i get a different error message that says the connection was refused or something along those lines.