Exec into docker cloud?

152 views Asked by At

When working locally I often use the docker exec command to look around and debug containers.

Is there a way to do this from my PC when the containers are deployed on docker-cloud?

I realize there is a terminal tab on the docker-cloud GUI but I'm finding it a bit limited.

2

There are 2 answers

0
VonC On BEST ANSWER

Yes, if you can open an ssh session on your docker cloud service (which is probably possible).

Or, more likely, if you run and access your container through a Docker Cloud Agent, which allows you to use any Linux host (“bring your own host”) as a node which you can then use to deploy containers.

Otherwise, no, as the socket used by docker cloud session would not be exposed through internet, and is used only locally on the remote cloud server.

0
Sreeni On