tigergraph / ecosys

TigerGraph Ecosystem
Apache License 2.0
269 stars 153 forks source link

We don't need to expose ssh port for Docker #113

Open kehao95 opened 4 years ago

kehao95 commented 4 years ago

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

xpertmind commented 3 years ago

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.