提示的錯誤信息爲:linux
Configuration file at updated successfully!docker
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 correctlybootstrap
See: https://meta.discourse.org/t/...
root@raspberrypi:/var/discourse# uname架構
不知道是什麼問題致使的?app
通過搜索後發現 Discourse 不支持 ARM 的CPU。socket
只能支持 x86_64 的 CPU。測試
由於咱們想在 raspberrypi 上進行安裝測試,可是 raspberrypi 使用的是 ARM 的 CPU,所以是沒有辦法在 raspberrypi 上安裝 Discourse 的。ui
lscpu 查看的配置結果:spa
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 crc32orm
經過執行查看 CPU 信息的命令後的輸出:
在上面截圖中能夠看到 CPU 的架構和類型。