{"id":27225,"date":"2025-04-19T18:50:54","date_gmt":"2025-04-19T10:50:54","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/27225.html"},"modified":"2025-04-19T18:50:54","modified_gmt":"2025-04-19T10:50:54","slug":"dify%e7%a6%bb%e7%ba%bf%e9%83%a8%e7%bd%b2%e6%96%b9%e6%a1%88-%e4%bb%a5%e5%8d%8e%e4%b8%ba%e6%98%87%e8%85%bearm%e6%9e%b6%e6%9e%84%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%ba%e4%be%8b","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/27225.html","title":{"rendered":"Dify\u79bb\u7ebf\u90e8\u7f72\u65b9\u6848-\u4ee5\u534e\u4e3a\u6607\u817eArm\u67b6\u6784\u670d\u52a1\u5668\u4e3a\u4f8b"},"content":{"rendered":"<\/p>\n<h4>Dify\u79bb\u7ebf\u90e8\u7f72\u65b9\u6848<\/h4>\n<ul>\n<li>1. \u672c\u5730\u62c9\u53d6\u5bf9\u5e94\u67b6\u6784\u955c\u50cf<\/li>\n<li>\n<ul>\n<li>1.1 \u672c\u5730Docker\u5b89\u88c5<\/li>\n<li>1.2 \u955c\u50cf\u62c9\u53d6<\/li>\n<li>1.3 \u955c\u50cf\u6253\u5305<\/li>\n<li>1.4 \u6e90\u7801\u4e0b\u8f7d<\/li>\n<\/ul>\n<\/li>\n<li>2. \u670d\u52a1\u5668\u7aef\u90e8\u7f72<\/li>\n<li>\n<ul>\n<li>2.1 \u6587\u4ef6\u4f20\u8f93<\/li>\n<li>2.2 Dify\u4f9d\u8d56\u52a0\u8f7d<\/li>\n<li>2.3 \u542f\u52a8 Dify<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u670d\u52a1\u5668\u4e3aArm\u67b6\u6784\u7684\u534e\u4e3a\u6607\u817eAI\u670d\u52a1\u5668<\/p>\n<h2>1. \u672c\u5730\u62c9\u53d6\u5bf9\u5e94\u67b6\u6784\u955c\u50cf<\/h2>\n<p>\u672c\u5730\u73af\u5883&#xff1a;cat \/etc\/os-release<\/p>\n<p><span class=\"token assign-left variable\">PRETTY_NAME<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;UOS Desktop 20 Pro&#034;<\/span><br \/>\n<span class=\"token assign-left variable\">NAME<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;uos&#034;<\/span><br \/>\n<span class=\"token assign-left variable\">VERSION_ID<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;20&#034;<\/span><br \/>\n<span class=\"token assign-left variable\">VERSION<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;20&#034;<\/span><br \/>\n<span class=\"token assign-left variable\">ID<\/span><span class=\"token operator\">&#061;<\/span>uos<br \/>\n<span class=\"token assign-left variable\">HOME_URL<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;https:\/\/www.chinauos.com\/&#034;<\/span><br \/>\n<span class=\"token assign-left variable\">BUG_REPORT_URL<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;http:\/\/bbs.chinauos.com&#034;<\/span><\/p>\n<h3>1.1 \u672c\u5730Docker\u5b89\u88c5<\/h3>\n<p><span class=\"token comment\"># \u66f4\u65b0\u7cfb\u7edf<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> update <span class=\"token operator\">&amp;&amp;<\/span> <span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> upgrade <span class=\"token parameter variable\">-y<\/span><br \/>\n<span class=\"token comment\"># \u5b89\u88c5\u5fc5\u8981\u7684\u4f9d\u8d56\u5305<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> apt-transport-https ca-certificates <span class=\"token function\">curl<\/span> software-properties-common<br \/>\n<span class=\"token comment\"># \u6dfb\u52a0Docker\u7684\u5b98\u65b9GPG\u5bc6\u94a5<\/span><br \/>\n<span class=\"token function\">curl<\/span> <span class=\"token parameter variable\">-fsSL<\/span> https:\/\/download.docker.com\/linux\/debian\/gpg <span class=\"token operator\">|<\/span> <span class=\"token function\">sudo<\/span> apt-key <span class=\"token function\">add<\/span> &#8211;<br \/>\n<span class=\"token comment\"># \u8bbe\u7f6e Docker \u7684\u8f6f\u4ef6\u6e90<\/span><br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token punctuation\">\\\\<\/span><br \/>\n  <span class=\"token string\">&#034;deb [arch&#061;arm64 signed-by&#061;\/usr\/share\/keyrings\/docker-archive-keyring.gpg] https:\/\/download.docker.com\/linux\/debian \\\\<br \/>\n  <span class=\"token variable\"><span class=\"token variable\">$(<\/span>lsb_release <span class=\"token parameter variable\">-cs<\/span><span class=\"token variable\">)<\/span><\/span> stable&#034;<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">sudo<\/span> <span class=\"token function\">tee<\/span> \/etc\/apt\/sources.list.d\/docker.list <span class=\"token operator\">&gt;<\/span> \/dev\/null<br \/>\n<span class=\"token comment\"># \u5b89\u88c5 Docker Engine<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt-get<\/span> update<br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt-get<\/span> <span class=\"token function\">install<\/span> <span class=\"token parameter variable\">-y<\/span> docker-ce docker-ce-cli containerd.io<br \/>\n<span class=\"token comment\"># \u542f\u52a8 Docker \u5e76\u8bbe\u7f6e\u4e3a\u5f00\u673a\u542f\u52a8(\u5982\u9700\u8981)<\/span><br \/>\n<span class=\"token function\">sudo<\/span> systemctl start <span class=\"token function\">docker<\/span><br \/>\n<span class=\"token function\">sudo<\/span> systemctl <span class=\"token builtin class-name\">enable<\/span> <span class=\"token function\">docker<\/span><\/p>\n<p>Docker\u5b89\u88c5\u9a8c\u8bc1&#xff1a;<\/p>\n<p><span class=\"token function\">docker<\/span> <span class=\"token parameter variable\">&#8211;version<\/span><br \/>\n<span class=\"token function\">docker<\/span> info<\/p>\n<h3>1.2 \u955c\u50cf\u62c9\u53d6<\/h3>\n<p>Dify\u6240\u9700\u955c\u50cf\u4f9d\u8d56(images)&#xff1a;<\/p>\n<p>langgenius\/dify-web         <span class=\"token number\">0.15<\/span>.3<br \/>\nlanggenius\/dify-api         <span class=\"token number\">0.15<\/span>.3<br \/>\nlanggenius\/dify-sandbox     <span class=\"token number\">0.2<\/span>.10<br \/>\npostgres                    <span class=\"token number\">15<\/span>-alpine<br \/>\n<span class=\"token function\">node<\/span>                        <span class=\"token number\">20<\/span>-alpine3.20<br \/>\npython                      <span class=\"token number\">3.12<\/span>-slim-bookworm<br \/>\nredis                       <span class=\"token number\">6<\/span>-alpine<br \/>\nubuntu\/squid                latest<br \/>\nsemitechnologies\/weaviate   <span class=\"token number\">1.19<\/span>.0<br \/>\nnginx                       latest<\/p>\n<p><span class=\"token function\">docker<\/span> pull <span class=\"token parameter variable\">&#8211;platform<\/span> linux\/arm64 langgenius\/dify-web:0.15.3<br \/>\n<span class=\"token function\">docker<\/span> pull <span class=\"token parameter variable\">&#8211;platform<\/span> linux\/arm64 <span class=\"token operator\">&lt;<\/span>images<span class=\"token operator\">&gt;<\/span><\/p>\n<ul>\n<li>\u51fa\u73b0\u95ee\u9898\u4e0e\u89e3\u51b3\u65b9\u5f0f&#xff1a;<\/li>\n<\/ul>\n<li>\u201c\u2013platform\u201d is only supported on a Docker daemon with experimental features enabled&#xff1a;<\/li>\n<p><span class=\"token comment\"># \u62a5\u95191<\/span><br \/>\n<span class=\"token string\">&#034;&#8211;platform&#034;<\/span> is only supported on a Docker daemon with experimental features enabled<br \/>\n<span class=\"token comment\"># \u68c0\u67e5\u662f\u5426\u5f00\u542fexperimental\u529f\u80fd<\/span><br \/>\n<span class=\"token function\">docker<\/span> info <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> <span class=\"token parameter variable\">-i<\/span> <span class=\"token string\">&#039;experimental&#039;<\/span><br \/>\n<span class=\"token comment\"># <\/span><br \/>\n<span class=\"token function\">vim<\/span> \/etc\/docker\/daemon.json<br \/>\n<span class=\"token comment\"># Add \u5e76\u4fdd\u5b58<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string\">&#034;experimental&#034;<\/span><span class=\"token builtin class-name\">:<\/span> <span class=\"token boolean\">true<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<li>Error response from daemon: Get \u201chttps:\/\/registry-1.docker.io\/v2\/\u201d: context deadline exceeded (Client.Timeout exceeded while awaiting headers) &#xff1a;<\/li>\n<p><span class=\"token comment\"># \u62a5\u95192<\/span><br \/>\nError response from daemon: Get <span class=\"token string\">&#034;https:\/\/registry-1.docker.io\/v2\/&#034;<\/span><span class=\"token builtin class-name\">:<\/span> context deadline exceeded <span class=\"token punctuation\">(<\/span>Client.Timeout exceeded <span class=\"token keyword\">while<\/span> awaiting headers<span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\"># \u4fee\u6539daemon.json \u589e\u52a0\u56fd\u5185\u6e90<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><br \/>\n<span class=\"token string\">&#034;registry-mirrors&#034;<\/span>:<span class=\"token punctuation\">[<\/span><br \/>\n    <span class=\"token string\">&#034;https:\/\/9cpn8tt6.mirror.aliyuncs.com&#034;<\/span>,<br \/>\n    <span class=\"token string\">&#034;https:\/\/registry.docker-cn.com&#034;<\/span>,<br \/>\n    <span class=\"token string\">&#034;https:\/\/mirror.ccs.tencentyun.com&#034;<\/span>,<br \/>\n    <span class=\"token string\">&#034;https:\/\/docker.1panel.live&#034;<\/span>,<br \/>\n    <span class=\"token string\">&#034;https:\/\/2a6bf1988cb6428c877f723ec7530dbc.mirror.swr.myhuaweicloud.com&#034;<\/span>,<br \/>\n    <span class=\"token string\">&#034;https:\/\/docker.m.daocloud.io&#034;<\/span>,<br \/>\n    <span class=\"token string\">&#034;https:\/\/hub-mirror.c.163.com&#034;<\/span>,<br \/>\n    <span class=\"token string\">&#034;https:\/\/mirror.baidubce.com&#034;<\/span>,<br \/>\n    <span class=\"token string\">&#034;https:\/\/your_preferred_mirror&#034;<\/span>,<br \/>\n    <span class=\"token string\">&#034;https:\/\/dockerhub.icu&#034;<\/span>,<br \/>\n    <span class=\"token string\">&#034;https:\/\/docker.registry.cyou&#034;<\/span>,<br \/>\n    <span class=\"token string\">&#034;https:\/\/docker-cf.registry.cyou&#034;<\/span>,<br \/>\n    <span class=\"token string\">&#034;https:\/\/dockercf.jsdelivr.fyi&#034;<\/span>,<br \/>\n    <span class=\"token string\">&#034;https:\/\/docker.jsdelivr.fyi&#034;<\/span>,<br \/>\n    <span class=\"token string\">&#034;https:\/\/dockertest.jsdelivr.fyi&#034;<\/span>,<br \/>\n    <span class=\"token string\">&#034;https:\/\/mirror.aliyuncs.com&#034;<\/span>,<br \/>\n    <span class=\"token string\">&#034;https:\/\/dockerproxy.com&#034;<\/span>,<br \/>\n    <span class=\"token string\">&#034;https:\/\/mirror.baidubce.com&#034;<\/span>,<br \/>\n    <span class=\"token string\">&#034;https:\/\/docker.m.daocloud.io&#034;<\/span>,<br \/>\n    <span class=\"token string\">&#034;https:\/\/docker.nju.edu.cn&#034;<\/span>,<br \/>\n    <span class=\"token string\">&#034;https:\/\/docker.mirrors.sjtug.sjtu.edu.cn&#034;<\/span>,<br \/>\n    <span class=\"token string\">&#034;https:\/\/docker.mirrors.ustc.edu.cn&#034;<\/span>,<br \/>\n    <span class=\"token string\">&#034;https:\/\/mirror.iscas.ac.cn&#034;<\/span>,<br \/>\n    <span class=\"token string\">&#034;https:\/\/docker.rainbond.cc&#034;<\/span><br \/>\n    <span class=\"token punctuation\">]<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<ul>\n<li>\u6700\u7ec8 Daemon.json<\/li>\n<\/ul>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string-property property\">&#034;dns&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">[<\/span><br \/>\n    <span class=\"token string\">&#034;8.8.8.8&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">&#034;8.8.4.4&#034;<\/span><br \/>\n  <span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token string-property property\">&#034;experimental&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token boolean\">true<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token string-property property\">&#034;registry-mirrors&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">[<\/span><br \/>\n    <span class=\"token string\">&#034;https:\/\/9cpn8tt6.mirror.aliyuncs.com&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">&#034;https:\/\/registry.docker-cn.com&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">&#034;https:\/\/mirror.ccs.tencentyun.com&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">&#034;https:\/\/docker.1panel.live&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">&#034;https:\/\/2a6bf1988cb6428c877f723ec7530dbc.mirror.swr.myhuaweicloud.com&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">&#034;https:\/\/docker.m.daocloud.io&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">&#034;https:\/\/hub-mirror.c.163.com&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">&#034;https:\/\/mirror.baidubce.com&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">&#034;https:\/\/your_preferred_mirror&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">&#034;https:\/\/dockerhub.icu&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">&#034;https:\/\/docker.registry.cyou&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">&#034;https:\/\/docker-cf.registry.cyou&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">&#034;https:\/\/dockercf.jsdelivr.fyi&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">&#034;https:\/\/docker.jsdelivr.fyi&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">&#034;https:\/\/dockertest.jsdelivr.fyi&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">&#034;https:\/\/mirror.aliyuncs.com&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">&#034;https:\/\/dockerproxy.com&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">&#034;https:\/\/mirror.baidubce.com&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">&#034;https:\/\/docker.m.daocloud.io&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">&#034;https:\/\/docker.nju.edu.cn&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">&#034;https:\/\/docker.mirrors.sjtug.sjtu.edu.cn&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">&#034;https:\/\/docker.mirrors.ustc.edu.cn&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">&#034;https:\/\/mirror.iscas.ac.cn&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">&#034;https:\/\/docker.rainbond.cc&#034;<\/span><br \/>\n   <span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p>\u91cd\u542fDocker&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> systemctl daemon-reload<br \/>\n<span class=\"token function\">sudo<\/span> systemctl restart <span class=\"token function\">docker<\/span><\/p>\n<h3>1.3 \u955c\u50cf\u6253\u5305<\/h3>\n<p><span class=\"token comment\"># \u786e\u8ba4\u597d\u8be5image\u662farm64\u67b6\u6784<\/span><br \/>\n<span class=\"token function\">docker<\/span> inspect langgenius\/dify-web:0.15.3 <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> Architecture<br \/>\n<span class=\"token comment\"># \u6253\u5305\u8f93\u51fa\u4e3atar\u6587\u4ef6<\/span><br \/>\n<span class=\"token function\">docker<\/span> save langgenius\/dify-web:0.15.3 <span class=\"token parameter variable\">-o<\/span> \/home\/Cyan\/dify\/dify_web.tar<br \/>\n<span class=\"token function\">docker<\/span> save langgenius\/dify-api:0.15.3 <span class=\"token parameter variable\">-o<\/span> \/home\/Cyan\/dify\/dify_api.tar<br \/>\n<span class=\"token comment\"># \u5c06\u6240\u6709\u955c\u50cf\u4f9d\u6b21\u6253\u5305<\/span><br \/>\n<span class=\"token function\">docker<\/span> save <span class=\"token operator\">&lt;<\/span>image_name<span class=\"token operator\">&gt;<\/span>:<span class=\"token operator\">&lt;<\/span>image_version<span class=\"token operator\">&gt;<\/span> <span class=\"token parameter variable\">-o<\/span> <span class=\"token operator\">&lt;<\/span>save_path<span class=\"token operator\">&gt;<\/span><br \/>\n<span class=\"token comment\"># \u5206\u7247\u4f20\u8f93 (\u5982\u9700\u8981)<\/span><br \/>\n<span class=\"token function\">split<\/span> <span class=\"token parameter variable\">-b<\/span> 100M dify.tar dify_part_<br \/>\n<span class=\"token comment\"># dify\u6587\u4ef6\u5939\u4e0b\u5305\u542bdify_web.tar, dify_api.tar\u7b49Docker\u955c\u50cf\u5305<\/span><br \/>\n<span class=\"token comment\"># \u6253\u5305dify<\/span><br \/>\n<span class=\"token function\">tar<\/span> <span class=\"token parameter variable\">-cvf<\/span> dify.tar dify\/<\/p>\n<h3>1.4 \u6e90\u7801\u4e0b\u8f7d<\/h3>\n<p>\u5047\u8bbe\u6240\u9700\u7248\u672c\u4e3a 0.15.3<\/p>\n<p><span class=\"token function\">git<\/span> clone https:\/\/github.com\/langgenius\/dify.git <span class=\"token parameter variable\">&#8211;branch<\/span> <span class=\"token number\">0.15<\/span>.3<\/p>\n<p>\u6216\u624b\u52a8\u4ece https:\/\/github.com\/langgenius\/dify\/releases \u4e0b\u8f7d\u6240\u9700\u7248\u672c<\/p>\n<p>dify-0.15.3.tar.gz<\/p>\n<h2>2. \u670d\u52a1\u5668\u7aef\u90e8\u7f72<\/h2>\n<h3>2.1 \u6587\u4ef6\u4f20\u8f93<\/h3>\n<ul>\n<li>\u5c06\u6253\u5305\u597d\u7684\u955c\u50cf\u4f20\u5165\u6240\u9700\u7684\u670d\u52a1\u5668\u4e2d&#xff08;SFTP\u65b9\u5f0f&#xff09;[\u8fc7\u7a0b\u7565][SSO&#043;FileZilla]<\/li>\n<li>\u5c06\u6253\u5305\u597d\u7684\u955c\u50cf\u4f20\u5165\u6240\u9700\u7684\u670d\u52a1\u5668\u4e2d&#xff08;SCP\u65b9\u5f0f&#xff09;<\/li>\n<\/ul>\n<p><span class=\"token comment\"># \u4f20\u8f93\u81f3\u670d\u52a1\u5668 | \u56de\u8f66\u540e\u952e\u5165\u5bc6\u7801<\/span><br \/>\n<span class=\"token function\">scp<\/span> dify.tar root&#064;remote_host:\/remote\/path\/<br \/>\n<span class=\"token function\">scp<\/span> dify-0.15.3.tar.gz root&#064;remote_host:\/remote\/path\/<br \/>\n<span class=\"token comment\"># \u89e3\u5305dify<\/span><br \/>\n<span class=\"token function\">tar<\/span> <span class=\"token parameter variable\">-xvf<\/span> dify.tar<br \/>\n<span class=\"token comment\"># \u89e3\u5305dify\u6e90\u7801<\/span><br \/>\n<span class=\"token function\">tar<\/span> <span class=\"token parameter variable\">-xzvf<\/span> dify-0.15.3.tar.gz<\/p>\n<h3>2.2 Dify\u4f9d\u8d56\u52a0\u8f7d<\/h3>\n<ul>\n<li>\u52a0\u8f7dDocker\u955c\u50cf(Dify\u4f9d\u8d56)<\/li>\n<\/ul>\n<p><span class=\"token builtin class-name\">cd<\/span> dify<br \/>\n<span class=\"token function\">docker<\/span> load <span class=\"token parameter variable\">-i<\/span> dify_web_xxxx.tar.gz<br \/>\n<span class=\"token function\">docker<\/span> load <span class=\"token parameter variable\">-i<\/span> dify_web_xxxx.tar.gz<br \/>\n<span class=\"token function\">docker<\/span> load <span class=\"token parameter variable\">-i<\/span> dify_web_xxxx.tar.gz<br \/>\n<span class=\"token function\">docker<\/span> compose <span class=\"token function\">ps<\/span><br \/>\n<span class=\"token comment\"># or<\/span><br \/>\n<span class=\"token function\">docker-compose<\/span> <span class=\"token function\">ps<\/span><\/p>\n<ul>\n<li>\u7f3a\u5c11Docker Compose\u73af\u5883\u7684\u89e3\u51b3\u65b9\u6cd5&#xff1a;<\/li>\n<\/ul>\n<p><span class=\"token comment\"># \u6ce8&#xff1a;docker-compose-linux-aarch64\u6839\u636eDocker\u90e8\u7f72\u7684\u7cfb\u7edf\u51b3\u5b9a<\/span><br \/>\n<span class=\"token comment\"># 1.\u5728\u7ebf\u73af\u5883\u4e0b<\/span><br \/>\n<span class=\"token function\">wget<\/span> https:\/\/github.com\/docker\/compose\/releases\/download\/v2.33.1\/docker-compose-linux-aarch64 <span class=\"token parameter variable\">-O<\/span> \/usr\/local\/bin\/docker-compose<br \/>\n<span class=\"token function\">chmod<\/span> &#043;x \/usr\/local\/bin\/docker-compose<br \/>\n<span class=\"token comment\"># 2.\u79bb\u7ebf\u73af\u5883\u4e0b<\/span><br \/>\n<span class=\"token comment\"># \u4e0b\u8f7d\u597d\u6587\u4ef6 docker-compose-linux-aarch64<\/span><br \/>\n<span class=\"token function\">cp<\/span> docker-compose-linux-aarch64 \/usr\/local\/bin<br \/>\n<span class=\"token builtin class-name\">cd<\/span> \/usr\/local\/bin<br \/>\n<span class=\"token function\">mv<\/span> docker-compose-linux-aarch64 <span class=\"token function\">docker-compose<\/span><br \/>\n<span class=\"token comment\"># \u68c0\u67e5\u5b89\u88c5\u662f\u5426\u6210\u529f<\/span><br \/>\n<span class=\"token function\">docker-compose<\/span> <span class=\"token parameter variable\">&#8211;version<\/span><\/p>\n<h3>2.3 \u542f\u52a8 Dify<\/h3>\n<ul>\n<li>\u542f\u52a8\u5bb9\u5668&#xff1a;<\/li>\n<\/ul>\n<p><span class=\"token function\">tar<\/span> <span class=\"token parameter variable\">-xzvf<\/span> dify-0.15.3.tar.gz<br \/>\n<span class=\"token comment\"># \u8fdb\u5165Dify\u6e90\u4ee3\u7801\u7684Docker\u76ee\u5f55<\/span><br \/>\n<span class=\"token builtin class-name\">cd<\/span> dify-0.15.3\/docker\/<br \/>\n<span class=\"token comment\"># \u590d\u5236\u73af\u5883\u914d\u7f6e\u6587\u4ef6<\/span><br \/>\n<span class=\"token function\">cp<\/span> .env.example .env<br \/>\n<span class=\"token comment\"># \u542f\u52a8 Docker \u5bb9\u5668<\/span><br \/>\n<span class=\"token function\">docker-compose<\/span> up <span class=\"token parameter variable\">-d<\/span><\/p>\n<ul>\n<li>\u90e8\u7f72\u6b63\u5e38\u8f93\u51fa&#xff1a;<\/li>\n<\/ul>\n<p><span class=\"token punctuation\">[<\/span>&#043;<span class=\"token punctuation\">]<\/span> Running <span class=\"token number\">11<\/span>\/11<br \/>\n \u2714 Network docker_ssrf_proxy_network  Created                                                                 <span class=\"token number\">0<\/span>.1s<br \/>\n \u2714 Network docker_default             Created                                                                 <span class=\"token number\">0<\/span>.0s<br \/>\n \u2714 Container docker-redis-1           Started                                                                 <span class=\"token number\">2<\/span>.4s<br \/>\n \u2714 Container docker-ssrf_proxy-1      Started                                                                 <span class=\"token number\">2<\/span>.8s<br \/>\n \u2714 Container docker-sandbox-1         Started                                                                 <span class=\"token number\">2<\/span>.7s<br \/>\n \u2714 Container docker-web-1             Started                                                                 <span class=\"token number\">2<\/span>.7s<br \/>\n \u2714 Container docker-weaviate-1        Started                                                                 <span class=\"token number\">2<\/span>.4s<br \/>\n \u2714 Container docker-db-1              Started                                                                 <span class=\"token number\">2<\/span>.7s<br \/>\n \u2714 Container docker-api-1             Started                                                                 <span class=\"token number\">6<\/span>.5s<br \/>\n \u2714 Container docker-worker-1          Started                                                                 <span class=\"token number\">6<\/span>.4s<br \/>\n \u2714 Container docker-nginx-1           Started                                                                 <span class=\"token number\">7<\/span>.1s<\/p>\n<ul>\n<li>Docker \u5bb9\u5668\u542f\u52a8\u95ee\u9898&#xff1a; \u82e5\u5b58\u5728Error response from daemon: Get &#034;https:\/\/registry-1.docker.io\/v2\/&#034;: context deadline exceeded (Client.Timeout exceeded while awaiting headers)&#xff0c;\u68c0\u67e5docker images\u4e2d\u7684tags\u4e0edify-0.15.3\/docker\/\u4e2d\u7684docker-compose.yaml\u91cc\u7684images\u540d\u79f0\u662f\u5426\u5339\u914d&#xff0c;\u5982\u4e0d\u5339\u914d\u5219\u9700\u627e\u5230\u5bf9\u5e94\u7684Docker\u4f9d\u8d56\u955c\u50cf&#xff0c;\u6267\u884c\u5982\u4e0b\u547d\u4ee4&#xff1a;<\/li>\n<\/ul>\n<p><span class=\"token comment\"># \u4fee\u6539\u955c\u50cfTag<\/span><br \/>\n<span class=\"token function\">docker<\/span> tag <span class=\"token punctuation\">[<\/span>Hash<span class=\"token punctuation\">]<\/span> image_name:image_version<br \/>\n<span class=\"token comment\"># \u4f8b&#xff1a;docker tag f5d091 langgenius\/dify-web:0.15.3<\/span><br \/>\n<span class=\"token comment\"># \u518d\u8fd0\u884cdocker-compose up -d\u5373\u53ef<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.5k\u6b21\uff0c\u70b9\u8d5e13\u6b21\uff0c\u6536\u85cf13\u6b21\u3002Arm\u67b6\u6784\u7684\u534e\u4e3a\u6607\u817eAI\u670d\u52a1\u5668Dify\u79bb\u7ebf\u90e8\u7f72\u65b9\u6848_dify arm\u90e8\u7f72<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[1757,2166,50,43,188,51],"topic":[],"class_list":["post-27225","post","type-post","status-publish","format-standard","hentry","category-server","tag-arm","tag-dify","tag-50","tag-43","tag-188","tag-51"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Dify\u79bb\u7ebf\u90e8\u7f72\u65b9\u6848-\u4ee5\u534e\u4e3a\u6607\u817eArm\u67b6\u6784\u670d\u52a1\u5668\u4e3a\u4f8b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/27225.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Dify\u79bb\u7ebf\u90e8\u7f72\u65b9\u6848-\u4ee5\u534e\u4e3a\u6607\u817eArm\u67b6\u6784\u670d\u52a1\u5668\u4e3a\u4f8b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.5k\u6b21\uff0c\u70b9\u8d5e13\u6b21\uff0c\u6536\u85cf13\u6b21\u3002Arm\u67b6\u6784\u7684\u534e\u4e3a\u6607\u817eAI\u670d\u52a1\u5668Dify\u79bb\u7ebf\u90e8\u7f72\u65b9\u6848_dify arm\u90e8\u7f72\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/27225.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-19T10:50:54+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/27225.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/27225.html\",\"name\":\"Dify\u79bb\u7ebf\u90e8\u7f72\u65b9\u6848-\u4ee5\u534e\u4e3a\u6607\u817eArm\u67b6\u6784\u670d\u52a1\u5668\u4e3a\u4f8b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-19T10:50:54+00:00\",\"dateModified\":\"2025-04-19T10:50:54+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/27225.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/27225.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/27225.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Dify\u79bb\u7ebf\u90e8\u7f72\u65b9\u6848-\u4ee5\u534e\u4e3a\u6607\u817eArm\u67b6\u6784\u670d\u52a1\u5668\u4e3a\u4f8b\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Dify\u79bb\u7ebf\u90e8\u7f72\u65b9\u6848-\u4ee5\u534e\u4e3a\u6607\u817eArm\u67b6\u6784\u670d\u52a1\u5668\u4e3a\u4f8b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/27225.html","og_locale":"zh_CN","og_type":"article","og_title":"Dify\u79bb\u7ebf\u90e8\u7f72\u65b9\u6848-\u4ee5\u534e\u4e3a\u6607\u817eArm\u67b6\u6784\u670d\u52a1\u5668\u4e3a\u4f8b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.5k\u6b21\uff0c\u70b9\u8d5e13\u6b21\uff0c\u6536\u85cf13\u6b21\u3002Arm\u67b6\u6784\u7684\u534e\u4e3a\u6607\u817eAI\u670d\u52a1\u5668Dify\u79bb\u7ebf\u90e8\u7f72\u65b9\u6848_dify arm\u90e8\u7f72","og_url":"https:\/\/www.wsisp.com\/helps\/27225.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-19T10:50:54+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/27225.html","url":"https:\/\/www.wsisp.com\/helps\/27225.html","name":"Dify\u79bb\u7ebf\u90e8\u7f72\u65b9\u6848-\u4ee5\u534e\u4e3a\u6607\u817eArm\u67b6\u6784\u670d\u52a1\u5668\u4e3a\u4f8b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-19T10:50:54+00:00","dateModified":"2025-04-19T10:50:54+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/27225.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/27225.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/27225.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Dify\u79bb\u7ebf\u90e8\u7f72\u65b9\u6848-\u4ee5\u534e\u4e3a\u6607\u817eArm\u67b6\u6784\u670d\u52a1\u5668\u4e3a\u4f8b"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/27225","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=27225"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/27225\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=27225"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=27225"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=27225"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=27225"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}