1
我已經在raspbian jessie 8(IP 192.168.2.2)上安裝了docker。我創建了一個碼頭工人容器raspbian基本映像的Minecraft在安裝上,我打開端口25565容器碼頭集裝箱港口問題
[email protected] ~ $ docker run -d -p 25565:25565 rpi_minecraft
[email protected] ~ $ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
b94381cdc3b6 rpi_minecraft "supervisord -c /etc/" About an hour ago Up About an hour 80/tcp, 0.0.0.0:25565->25565/tcp pensive_shockley
當我嘗試看看是否端口被打開我得到這個錯誤在
Andrews-iMac:~ Andrew$ telnet 192.168.2.2 25565
Trying 192.168.2.2...
telnet: connect to address 192.168.2.2: Connection refused
telnet: Unable to connect to remote host
是什麼導致了這個問題?所有相關端口都對我開放?
你能不能給我們時使用的rpi_minecraft圖像源(資料庫)?你是否嘗試過從raspbian shell連接到端口?你有沒有試過在Andrews-iMac上運行圖像? – pwes