蚂蚁笔记 = 笔记 + 博客 + 协作 + 私有云
安装
mkdir -p /data/leanote/db
mkdir -p /data/leanote/conf
mkdir -p /data/leanote/files
mkdir -p /data/leanote/public/upload
docker run -d --name leanote \
-v /data/leanote/db:/data/db \
-v /data/leanote/conf/:/data/leanote/conf \
-v /data/leanote/files:/data/leanote/files \
-v /data/leanote/public/upload:/data/leanote/public/upload \
-p 9000:9000 --restart unless-stopped \
axboy/leanote
Digest: sha256:2e1c118ac664a64305821f9f7eb5d1264fd2c82a88af6616c6e04a6bd1ad9f92
Status: Downloaded newer image for axboy/leanote:latest
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested
40579a6980b478c46c19da36055ced75d65153c3555ca540eadc4245b93e78ac
玩客云是armv7,镜像是amd64,不能运行。加上--platform linux/amd64也不行。在debian12虚拟机里可以正常部署。