Re: [閒聊] 測試 pttbbs 在 docker image 上

作者: holishing   2020-05-22 23:35:52
※ 引述《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 愉快!
作者: hpo14 (hpo14)   2020-10-09 22:43:00
作者: holishing   2020-10-31 19:21:00
好像還沒更新,再找時間試試看
作者: s77485p (快樂豬)   2020-11-08 12:13:00
對於了解PTT Source code很有幫助中 推

Links booklink

Contact Us: admin [ a t ] ucptt.com