如何通过docker run命令连接docker gemfire实例?
docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
8faffdfdbfb9 apachegeode/geode "gfsh" 3 minutes ago Up 3 minutes 1099/tcp, 7070/tcp, 8080/tcp, 10334/tcp, 40404/tcp compassionate_chebyshev
我尝试使用 gfsh 但没有成功。
它对我有用
apachegeode/geode:latest
运行容器:
➜ ~ docker run -it apachegeode/geode
容器运行后,您可以运行 gfsh:
➜ ~ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
5532ef57883f apachegeode/geode "gfsh" 3 minutes ago Up 3 minutes 1099/tcp, 7070/tcp, 8080/tcp, 10334/tcp, 40404/tcp friendly_brattain
➜ ~ docker exec -it 5532ef57883f gfsh
_________________________ __
/ _____/ ______/ ______/ /____/ /
/ / __/ /___ /_____ / _____ /
/ /__/ / ____/ _____/ / / / /
/______/_/ /______/_/ /_/ 1.15.1
Monitor and Manage Apache Geode
gfsh>