作者holishing ( )
看板PttCurrent
標題Re: [閒聊] 測試 pttbbs 在 docker image 上
時間Fri May 22 23:35:52 2020
※ 引述《holishing ( )》之銘言:
: 主要拿來用的 Dockerfile 等相關腳本都放在:
: https://github.com/bbsdocker/imageptt
近期更新:
提供 Websocket 連線服務測試,
使用瀏覽器即可連線測試 Docker 上已經幫你編譯好的 PttBBS
Docker 安裝說明請見:
https://docs.docker.com/get-docker/
Linux, Mac, Windows 皆可安裝
裝完 Docker 之後
docker pull bbsdocker/imageptt
拉取內有 PttBBS 的 Docker 映像檔
然後下
docker run -d -p 8888:8888 -p 48763:48763 bbsdocker/imageptt
之後 docker ps 檢查如果有東西在跑的話表示成功了
即可用 telnet://localhost:8888 或是直接用瀏覽器連
http://localhost:48763
進入全新的 PttBBS 介面
其他 Docker 操作說明以及 PttBBS 使用方式請分別參考:
https://docs.docker.com
https://github.com/ptt/pttbbs/wiki
祝各位 PttBBS 愉快!
--
你知道PTT有小天使嗎? 祂能幫助你唷! 小主人我來了^Q^ -
◥
●β
、HELP 想呼叫屬於你的小天使嗎? /◥=
` 〈○〉
▃▃▃ 只要按hh,就可以了唷!! Δ
新 ◥ >_<~
//
▅▅▅ 快按下"hh"呼叫你的小天使吧!\(≧▽ν≦)ωgarnier
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.116.137.106 (臺灣)
※ 文章網址: https://www.ptt.cc/bbs/PttCurrent/M.1590161755.A.311.html
推 hpo14: 推 10/09 22:43
→ holishing: 好像還沒更新,再找時間試試看 10/31 19:21
推 s77485p: 對於了解PTT Source code很有幫助中 推 11/08 12:13