提示的錯誤資訊為:
Configuration file at updated successfully!
Updates successful. Rebuilding in 5 seconds.
Building app
standard_init_linux.go:211: exec user process caused "exec format error"
Your Docker installation is not working correctly
See: https://meta.discourse.org/t/docker-error-on-bootstrap/13657/18?u=sam
root@raspberrypi:/var/discourse# uname
不知道是什麼問題導緻的?
經過搜尋後發現 Discourse 不支援 ARM 的CPU。
隻能支援 x86_64 的 CPU。
因為我們想在 raspberrypi 上進行安裝測試,但是 raspberrypi 使用的是 ARM 的 CPU,是以是沒有辦法在 raspberrypi 上安裝 Discourse 的。
lscpu 檢視的配置結果:
root@raspberrypi:/var/discourse# lscpu
Architecture: armv7l
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
Vendor ID: ARM
Model: 3
Model name: Cortex-A72
Stepping: r0p3
CPU max MHz: 1500.0000
CPU min MHz: 600.0000
BogoMIPS: 108.00
Flags: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
通過執行檢視 CPU 資訊的指令後的輸出:
在

上面截圖中可以看到 CPU 的架構和類型。
https://www.cwiki.us/questions/62619923