ecosys icon indicating copy to clipboard operation
ecosys copied to clipboard

We don't need to expose ssh port for Docker

Open kehao95 opened this issue 5 years ago • 1 comments

https://github.com/tigergraph/ecosys/blob/master/demos/guru_scripts/docker/README.md

In this document you run the tiger-graph container as a server and exposed a SSH port mapped to 14022. Actually since we are using docker we can directly access the container shell via docker exec command.

sudo docker exec -it -u tigergraph tigergraph_dev bash

This will save the trouble configuring the ssh keys steps

kehao95 avatar Sep 17 '20 18:09 kehao95

True. My docker images (https://hub.docker.com/r/xpertmind/tigergraph/tags?page=1&ordering=last_updated) do not have SSH exposed. Note that we still need sshd internally, it is a part of the cluster installation and taking it out would couse only trouble.

xpertmind avatar Feb 05 '21 09:02 xpertmind