{"id":26114,"date":"2025-04-19T14:38:17","date_gmt":"2025-04-19T06:38:17","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/26114.html"},"modified":"2025-04-19T14:38:17","modified_gmt":"2025-04-19T06:38:17","slug":"%e5%85%ad%e3%80%81%e7%89%a9%e7%90%86%ef%bc%88%e4%ba%91%ef%bc%89%e6%9c%8d%e5%8a%a1%e5%99%a8ubuntu-%e9%83%a8%e7%bd%b2apisix%ef%bc%882%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/26114.html","title":{"rendered":"\u516d\u3001\u7269\u7406\uff08\u4e91\uff09\u670d\u52a1\u5668Ubuntu \u90e8\u7f72APISIX\uff082\uff09"},"content":{"rendered":"<\/p>\n<h4>&#x1f923;&#x1f923;\u76ee\u5f55&#x1f923;&#x1f923;<\/h4>\n<ul>\n<li>\u4e00\u3001\u5b89\u88c5\u524d\u7684\u51c6\u5907<\/li>\n<li>\u4e8c\u3001Ubuntu \u5b89\u88c5 docker<\/li>\n<li>\n<ul>\n<li>2.1.\u4e0b\u8f7ddocker\u5305<\/li>\n<li>2.2. \u5b89\u88c5 docker<\/li>\n<li>\n<ul>\n<li>2.2.1 \u538b\u7f29\u5305\u5b89\u88c5<\/li>\n<li>2.2.2 \u91c7\u7528apt\u5b58\u50a8\u5e93\u5b89\u88c5<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>\u4e09\u3001Ubuntu \u5b89\u88c5 docker\u63d2\u4ef6 docker-compose<\/li>\n<li>\n<ul>\n<li>3.1.\u4e0b\u8f7d docker-compose<\/li>\n<li>3.2.\u5b89\u88c5 docker-compose<\/li>\n<\/ul>\n<\/li>\n<li>\u56db\u3001 Docker\u5b89\u88c5APISIX<\/li>\n<li>\n<ul>\n<li>4.1 \u73af\u5883\u51c6\u5907<\/li>\n<li>4.2 Docker \u5b89\u88c5 APISIX \u5e76\u542f\u7528 Admin API<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419063810-680344d22022e.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h2>\u4e00\u3001\u5b89\u88c5\u524d\u7684\u51c6\u5907<\/h2>\n<p>\u4e4b\u524d\u5982\u679c\u90e8\u7f72\u4e86Nginx&#xff0c;\u5e76\u4e14\u5728\u4ea7\u54c1\u7ebf\u4e0a\u4f7f\u7528\u4e2d&#xff0c;\u9700\u8c28\u614e\u64cd\u4f5c&#xff0c;\u53ef\u80fd\u4f1a\u5360\u7528\u7aef\u53e3\u4e4b\u7c7b\u5f71\u54cd\u6b63\u5f0f\u73af\u5883\u8fd0\u884c!!!<\/p>\n<p>\u9002\u7528\u4e8e\u5728Linux\u4e0a\u5b89\u88c5\u90e8\u7f72Docker&#xff0c;\u91c7\u7528\u7684\u64cd\u4f5c\u7cfb\u7edf\u662fUbuntu 22.04 \u4e14\u9002\u7528\u4e8e Ubuntu \u7684 Docker \u5f15\u64ce\u4e0e x86_64&#xff08;\u6216 amd64&#xff09;\u3001armhf\u3001arm64\u3001 S390x \u548c PPC64LE &#xff08;PPC64EL&#xff09; \u67b6\u6784\u3002<\/p>\n<p>&#xff08;1&#xff09;\u670d\u52a1\u5668\u51c6\u5907&#xff1a;\u6211\u7528\u7684\u670d\u52a1\u5668&#xff08;\u963f\u91cc\u4e91&#xff09;\u5982\u4e0b\u914d\u7f6e&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419063810-680344d28eb77.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u8fdc\u7a0b\u8fde\u63a5\u4e0a\u5f00\u59cb\u5982\u4e0b\u5b89\u88c5:<\/p>\n<p>(2) \u5728\u5b89\u88c5 Docker \u5f15\u64ce\u4e4b\u524d&#xff0c;\u9700\u8981\u5378\u8f7d\u4efb\u4f55\u51b2\u7a81\u7684\u5305\u3002\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u4ee5\u5378\u8f7d\u6240\u6709\u51b2\u7a81\u7684\u8f6f\u4ef6\u5305&#xff1a;<\/p>\n<p>for pkg in docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc; do sudo apt-get remove $pkg; done<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419063810-680344d2b36e7.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>(3) \u79fb\u9664\u5378\u8f7d\u540e\u7684\u8f6f\u4ef6\u5305&#xff1a;\u89e3\u91ca&#xff1a;\u4f7f\u7528\u4e86\u4e00\u4e2a\u5faa\u73af (for \u5faa\u73af) \u904d\u5386\u8fd9\u4e9b\u8f6f\u4ef6\u5305&#xff0c;\u5e76\u4f9d\u6b21\u4f7f\u7528 apt-get remove \u547d\u4ee4\u8fdb\u884c\u79fb\u9664<\/p>\n<p>docker.io&#xff1a;Docker \u7684\u6838\u5fc3\u8f6f\u4ef6\u5305\u3002<br \/>\ndocker-doc&#xff1a;Docker \u7684\u6587\u6863\u5305\u3002<br \/>\ndocker-compose&#xff1a;Docker Compose \u5de5\u5177\u7684\u65e7\u7248\u672c\u3002<br \/>\ndocker-compose-v2&#xff1a;Docker Compose \u5de5\u5177\u7684\u65b0\u7248\u672c\u3002<br \/>\npodman-docker&#xff1a;Podman \u5bb9\u5668\u5f15\u64ce\u7684 Docker \u517c\u5bb9\u5305\u3002<br \/>\ncontainerd&#xff1a;Docker \u4f7f\u7528\u7684\u5bb9\u5668\u8fd0\u884c\u65f6\u3002<br \/>\nrunc&#xff1a;Docker \u4f7f\u7528\u7684\u5bb9\u5668\u6267\u884c\u5de5\u5177\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419063811-680344d31d1d6.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h2>\u4e8c\u3001Ubuntu \u5b89\u88c5 docker<\/h2>\n<h3>2.1.\u4e0b\u8f7ddocker\u5305<\/h3>\n<ul>\n<li>\u5b98\u7f51\u4e0b\u8f7d&#xff1a;https:\/\/download.docker.com\/linux\/static\/stable\/x86_64\/<\/li>\n<li>\u672c\u7ad9\u8d44\u6e90\u5e93\u4e0b\u8f7d<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419063811-680344d33dc32.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>2.2. \u5b89\u88c5 docker<\/h3>\n<h4>2.2.1 \u538b\u7f29\u5305\u5b89\u88c5<\/h4>\n<ul>\n<li>&#xff08;1&#xff09;\u4e0a\u4f20docker\u538b\u7f29\u5305&#xff08;xftp\u3001FinalShell\u3001electerm \u7b49\u5de5\u5177&#xff09;<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419063811-680344d3647c8.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<ul>\n<li>&#xff08;2&#xff09;\u89e3\u538bdocker\u538b\u7f29\u5305<\/li>\n<\/ul>\n<p>tar -zxvf docker-27.2.0.tgz<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419063812-680344d408a62.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<ul>\n<li>&#xff08;3&#xff09;\u5c06docker\u4e0b\u7684\u6587\u4ef6\u590d\u5236\u5230 \/usr\/bin \u76ee\u5f55\u4e0b<\/li>\n<\/ul>\n<p>cp docker\/* \/usr\/bin\/<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419063812-680344d45a03d.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<ul>\n<li>&#xff08;4&#xff09;\u5c06docker\u670d\u52a1\u6ce8\u518c\u4e3a\u7cfb\u7edf\u670d\u52a1<\/li>\n<\/ul>\n<p>vim \/etc\/systemd\/system\/docker.service<\/p>\n<p>[Unit]<br \/>\nDescription&#061;Docker Application Container Engine<br \/>\nDocumentation&#061;https:\/\/docs.docker.com<br \/>\nAfter&#061;network-online.target firewalld.service<br \/>\nWants&#061;network-online.target<\/p>\n<p>[Service]<br \/>\nType&#061;notify<br \/>\nExecStart&#061;\/usr\/bin\/dockerd<br \/>\nExecReload&#061;\/bin\/kill -s HUP $MAINPID<br \/>\nLimitNOFILE&#061;infinity<br \/>\nLimitNPROC&#061;infinity<br \/>\nTimeoutStartSec&#061;0<br \/>\nDelegate&#061;yes<br \/>\nKillMode&#061;process<br \/>\nRestart&#061;on-failure<br \/>\nStartLimitBurst&#061;3<br \/>\nStartLimitInterval&#061;60s<\/p>\n<p>[Install]<br \/>\nWantedBy&#061;multi-user.target<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419063812-680344d487044.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419063812-680344d4afdae.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<ul>\n<li>&#xff08;5&#xff09;\u8bbe\u7f6e\u53ef\u6267\u884c\u6743\u9650<\/li>\n<\/ul>\n<p>chmod &#043;x \/etc\/systemd\/system\/docker.service <\/p>\n<ul>\n<li>&#xff08;6&#xff09;\u91cd\u65b0\u52a0\u8f7d\u914d\u7f6e\u6587\u4ef6&#xff08;\u6bcf\u6b21\u6709\u4fee\u6539docker.service\u6587\u4ef6\u65f6\u90fd\u8981\u91cd\u65b0\u52a0\u8f7d\u4e0b&#xff09;<\/li>\n<\/ul>\n<p> systemctl daemon-reload<\/p>\n<ul>\n<li>&#xff08;7&#xff09;\u8bbe\u7f6edocker\u5f00\u673a\u81ea\u542f\u52a8<\/li>\n<\/ul>\n<p>systemctl enable docker <\/p>\n<p>-&#xff08;8&#xff09;\u542f\u52a8 docker<\/p>\n<p>systemctl start docker <\/p>\n<ul>\n<li>&#xff08;9&#xff09;\u67e5\u770b\u72b6\u6001<\/li>\n<\/ul>\n<p> systemctl status docker  <\/p>\n<ul>\n<li>&#xff08;10&#xff09;\u67e5\u770bdocker \u7248\u672c<\/li>\n<\/ul>\n<p>  docker -v<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419063813-680344d501eac.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<ul>\n<li>(11) \u914d\u7f6e\u955c\u50cf\u52a0\u901f(\u5176\u5b83\u52a0\u901f\u53ef\u53c2\u8003&#xff1a;\u516d\u3001docker\u65e0\u6cd5\u62c9\u53d6\u955c\u50cf)<\/li>\n<\/ul>\n<p>\u4fee\u6539\u914d\u7f6e\u6587\u4ef6(\u6ca1\u6709docker\u5219\u521b\u5efadocker)&#xff1a;<\/p>\n<p>vim \/etc\/docker\/daemon.json<\/p>\n<p>{<br \/>\n    &#034;registry-mirrors&#034;: [<br \/>\n        &#034;https:\/\/docker.registry.cyou&#034;,<br \/>\n        &#034;https:\/\/docker-cf.registry.cyou&#034;,<br \/>\n        &#034;https:\/\/dockercf.jsdelivr.fyi&#034;,<br \/>\n        &#034;https:\/\/docker.jsdelivr.fyi&#034;,<br \/>\n        &#034;https:\/\/dockertest.jsdelivr.fyi&#034;,<br \/>\n        &#034;https:\/\/mirror.aliyuncs.com&#034;,<br \/>\n        &#034;https:\/\/dockerproxy.com&#034;,<br \/>\n        &#034;https:\/\/mirror.baidubce.com&#034;,<br \/>\n        &#034;https:\/\/docker.m.daocloud.io&#034;,<br \/>\n        &#034;https:\/\/docker.nju.edu.cn&#034;,<br \/>\n        &#034;https:\/\/docker.mirrors.sjtug.sjtu.edu.cn&#034;,<br \/>\n        &#034;https:\/\/docker.mirrors.ustc.edu.cn&#034;,<br \/>\n        &#034;https:\/\/mirror.iscas.ac.cn&#034;,<br \/>\n        &#034;https:\/\/docker.rainbond.cc&#034;<br \/>\n    ]<br \/>\n}<\/p>\n<p>\u51fa\u73b0\u4e0b\u9762&#xff0c;\u867d\u7136\u662froot\u7528\u6237&#xff0c;\u4f46\u8fd8\u662f\u65e0\u6cd5\u5199\u5165&#xff0c;\u662f\u56e0\u4e3a\u6ca1\u6709docker\u6587\u4ef6\u5939&#xff0c;\u624b\u52a8\u521b\u5efa\u5373\u53ef mkdir docker<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419063813-680344d5b2337.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u91cd\u542fdocker<\/p>\n<p>systemctl daemon-reload<\/p>\n<p>systemctl restart docker<\/p>\n<p>\u53ef\u4ee5\u62c9\u53d6hello-world\u955c\u50cf\u9a8c\u8bc1<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419063814-680344d60e8f4.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u81f3\u6b64docker\u5b89\u88c5\u5b8c\u6bd5&#xff01;&#xff01;&#xff01;<\/p>\n<h4>2.2.2 \u91c7\u7528apt\u5b58\u50a8\u5e93\u5b89\u88c5<\/h4>\n<ul>\n<li>1.\u8bbe\u7f6e Docker \u7684\u5b58\u50a8\u5e93<\/li>\n<\/ul>\n<p># Add Docker&#039;s official GPG key:<br \/>\n#\u66f4\u65b0\u672c\u5730\u7684\u8f6f\u4ef6\u5305\u5217\u8868<br \/>\nsudo apt-get update<br \/>\n#\u5b89\u88c5\u5fc5\u8981\u7684\u4f9d\u8d56\u9879&#xff0c;\u5305\u62ec ca-certificates \u548c curl<br \/>\nsudo apt-get install ca-certificates curl<br \/>\n#\u521b\u5efa \/etc\/apt\/keyrings \u76ee\u5f55&#xff0c;\u8be5\u76ee\u5f55\u7528\u4e8e\u5b58\u50a8 Docker \u7684 GPG \u5bc6\u94a5<br \/>\nsudo install -m 0755 -d \/etc\/apt\/keyrings<br \/>\n#\u4ece Docker \u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d GPG \u5bc6\u94a5\u5e76\u5c06\u5176\u4fdd\u5b58\u5230 \/etc\/apt\/keyrings\/docker.asc \u6587\u4ef6\u4e2d\u3002<br \/>\nsudo curl -fsSL https:\/\/download.docker.com\/linux\/ubuntu\/gpg -o \/etc\/apt\/keyrings\/docker.asc<br \/>\n#\u66f4\u6539\u5bc6\u94a5\u6587\u4ef6\u7684\u6743\u9650\u4ee5\u786e\u4fdd\u53ea\u6709\u7ba1\u7406\u5458\u53ef\u4ee5\u8bbf\u95ee\u5b83<br \/>\nsudo chmod a&#043;r \/etc\/apt\/keyrings\/docker.asc<\/p>\n<p># Add the repository to Apt sources:<br \/>\n#\u5c06 Docker APT \u6e90\u6dfb\u52a0\u5230\u7cfb\u7edf\u4e2d&#xff0c;\u5e76\u4fdd\u5b58\u5728 \/etc\/apt\/sources.list.d\/ \u76ee\u5f55\u4e0b\u7684 docker.list \u6587\u4ef6\u4e2d\u3002<br \/>\n#\u6b64\u547d\u4ee4\u4f1a\u81ea\u52a8\u68c0\u6d4b\u7cfb\u7edf\u67b6\u6784\u548c\u53d1\u884c\u7248\u540d\u79f0&#xff0c;\u5e76\u4f7f\u7528\u5b83\u4eec\u6765\u6784\u5efa\u6b63\u786e\u7684\u6e90\u5730\u5740\u3002<br \/>\necho \\\\<br \/>\n  &#034;deb [arch&#061;$(dpkg &#8211;print-architecture) signed-by&#061;\/etc\/apt\/keyrings\/docker.asc] https:\/\/download.docker.com\/linux\/ubuntu \\\\<br \/>\n  $(. \/etc\/os-release &amp;&amp; echo &#034;$VERSION_CODENAME&#034;) stable&#034; | \\\\<br \/>\n  sudo tee \/etc\/apt\/sources.list.d\/docker.list &gt; \/dev\/null<br \/>\n#\u518d\u6b21\u66f4\u65b0\u672c\u5730\u7684\u8f6f\u4ef6\u5305\u5217\u8868<br \/>\nsudo apt-get update<\/p>\n<h2>\u4e09\u3001Ubuntu \u5b89\u88c5 docker\u63d2\u4ef6 docker-compose<\/h2>\n<h3>3.1.\u4e0b\u8f7d docker-compose<\/h3>\n<ul>\n<li>GitHub\u5730\u5740&#xff1a;https:\/\/github.com\/docker\/compose\/releases<\/li>\n<li>(https:\/\/download.docker.com\/linux\/static\/stable\/x86_64\/)<\/li>\n<li>\u672c\u7ad9\u8d44\u6e90\u5e93\u4e0b\u8f7d(\u4e0a\u9762\u5df2\u7ecf\u4e0b\u8f7d\u4e86)<\/li>\n<\/ul>\n<h3>3.2.\u5b89\u88c5 docker-compose<\/h3>\n<p>&#xff08;1&#xff09;\u4f7f\u7528\u5de5\u5177\u4e0a\u4f20\u5230\u670d\u52a1\u5668<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419063814-680344d689076.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>&#xff08;2&#xff09;\u79fb\u52a8\u5230\/usr\/local\/bin\/\u76ee\u5f55\u4e0b&#xff0c;\u5e76\u91cd\u547d\u540d\u4e3adocker-compose<\/p>\n<p>mv docker-compose-linux-x86_64 \/usr\/local\/bin\/docker-compose<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419063815-680344d729559.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>&#xff08;3&#xff09;\u8bbe\u7f6e\u53ef\u6267\u884c\u6743\u9650<\/p>\n<p>chmod &#043;x \/usr\/local\/bin\/docker-compose<\/p>\n<p>&#xff08;4&#xff09;\u67e5\u770bdocker-compose\u7248\u672c<\/p>\n<p>docker-compose &#8211;version<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419063815-680344d7659f3.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h2>\u56db\u3001 Docker\u5b89\u88c5APISIX<\/h2>\n<h3>4.1 \u73af\u5883\u51c6\u5907<\/h3>\n<li>\u5b89\u88c5Docker \u548c Docker Compose\u3002\u524d\u9762\u5df2\u7ecf\u88c5\u597d\u5566&#xff01;&#xff01;&#xff01;<\/li>\n<li>\u5b89\u88c5 Git&#xff08;\u5df2\u7ecf\u5b89\u88c5\u5219\u53ef\u8df3\u8fc7&#xff09;<\/li>\n<p>\u5728Ubuntu\u4e0a\u5b89\u88c5Git\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u6765\u5b8c\u6210&#xff1a;<\/p>\n<p>\u6253\u5f00\u7ec8\u7aef\u3002<\/p>\n<p>\u9996\u5148\u66f4\u65b0\u4f60\u7684\u5305\u5217\u8868&#xff1a;<\/p>\n<p>sudo apt-get update<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419063815-680344d7aa442.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u7136\u540e\u5b89\u88c5Git&#xff1a;<\/p>\n<p>sudo apt-get install git<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419063816-680344d80cd3a.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u5b89\u88c5\u5b8c\u6210\u540e&#xff0c;\u4f60\u53ef\u4ee5\u901a\u8fc7\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u6765\u9a8c\u8bc1Git\u662f\u5426\u6210\u529f\u5b89\u88c5\u5e76\u4e14\u67e5\u770b\u5176\u7248\u672c&#xff1a;<\/p>\n<p>git &#8211;version<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419063816-680344d84f97e.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>4.2 Docker \u5b89\u88c5 APISIX \u5e76\u542f\u7528 Admin API<\/h3>\n<p>\u4f7f\u7528\u6b64\u65b9\u6cd5\u5b89\u88c5 APISIX&#xff0c;\u4f60\u9700\u8981\u5b89\u88c5 Docker \u548c Docker Compose\u3002<\/p>\n<p>\u9996\u5148\u4e0b\u8f7d apisix-docker \u4ed3\u5e93\u3002<\/p>\n<p>1.\u901a\u8fc7 git \u547d\u4ee4\u514b\u9686 apisix-docker \u4ed3\u5e93(\u6211\u662f\u76f4\u63a5\u4e0b\u8f7d Apache APISIX\u7248\u672c&#xff1a; v3.0.0\u4e0a\u4f20\u670d\u52a1\u5668\u6839\u76ee\u5f55\u7684\u53ef\u4ee5\u81ea\u5b9a\u4e49\u8def\u5f84) &#xff0c;\u7136\u540e\u5207\u6362\u5230example\u4e0b\u9762&#xff1a;<\/p>\n<p>&#xff08;1&#xff09; \u514b\u9686\u6700\u65b0\u5982\u4e0b<\/p>\n<p>git clone https:\/\/github.com\/apache\/apisix-docker.git<br \/>\ncd apisix-docker\/example<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419063816-680344d878f5d.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>&#xff08;2&#xff09;\u4e0b\u8f7d\u7279\u5b9a\u7248\u672c\u5982\u4e0b https:\/\/github.com\/apache\/apisix-docker.git &#xff08;\u4e0a\u9762\u8d44\u6599\u5305\u91cc\u4e5f\u6709&#xff09;<\/p>\n<p><img decoding=\"async\" src=\"2025-04-19tmfn0sc1dd0.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> <img decoding=\"async\" src=\"2025-04-19114cnsvcs2a.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<li>\u5207\u6362\u5230example&#xff08;cd apisix-docker\/example&#xff09;\u4e0b\u9762&#xff1a;\u901a\u8fc7 docker-compose \u542f\u52a8 APISIX<\/li>\n<p>docker\u2010compose \u2010p docker\u2010apisix up \u2010d<\/p>\n<p><img decoding=\"async\" src=\"2025-04-19su35o3cxjic.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> <img decoding=\"async\" src=\"2025-04-19su4c0wrxacd.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u5982\u679c\u505c\u6b62\u5e76\u5220\u9664\u6240\u6709docker\u5bb9\u5668,\u53ef\u4ee5\u7528\u5982\u4e0b\u547d\u4ee4<\/p>\n<p>docker stop $(docker ps -aq)  # \u505c\u6b62\u6240\u6709\u5bb9\u5668<br \/>\ndocker rm $(docker ps -aq)    # \u5220\u9664\u6240\u6709\u5bb9\u5668<br \/>\ndocker-compose down          # \u505c\u6b62\u5e76\u5220\u9664\u7531docker-compose\u542f\u52a8\u7684\u6240\u6709\u670d\u52a1<br \/>\ndocker rmi $(docker images -aq)  #docker\u5220\u9664\u6240\u6709\u955c\u50cf<\/p>\n<ul>\n<li>\u8bf7\u786e\u4fdd\u5176\u4ed6\u7cfb\u7edf\u8fdb\u7a0b\u6ca1\u6709\u5360\u7528 9080\u30019180\u30019443 \u548c 2379 \u7aef\u53e3\u3002<\/li>\n<li>\u5982\u679c Docker \u5bb9\u5668\u4e0d\u80fd\u6b63\u5e38\u8fd0\u884c&#xff0c;\u4f60\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u68c0\u67e5\u65e5\u5fd7\u8fdb\u884c\u95ee\u9898\u8bca\u65ad&#xff1a;<\/li>\n<\/ul>\n<p> docker logs \u2010f \u2010\u2010tail 100 $<span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>container_id<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><\/p>\n<p>3&#xff09;\u5b89\u88c5\u5b8c\u6210\u540e&#xff0c;\u4f60\u53ef\u4ee5\u5728\u8fd0\u884c Docker \u7684\u5bbf\u4e3b\u673a\u4e0a\u6267\u884c curl \u547d\u4ee4\u8bbf\u95ee Admin API&#xff0c;\u6839\u636e\u8fd4\u56de\u6570\u636e\u5224\u65ad APISIX \u662f\u5426\u6210\u529f\u542f\u52a8\u3002<\/p>\n<p>\u6ce8\u610f&#xff1a;\u8bf7\u5728\u8fd0\u884c Docker \u7684\u5bbf\u4e3b\u673a\u4e0a\u6267\u884c curl \u547d\u4ee4\u3002<\/p>\n<p>curl &#034;http:\/\/127.0.0.1:9180\/apisix\/admin\/services\/&#034; \u2010H &#039;X\u2010API\u2010KEY: edd1c9<br \/>\nf034335f136f87ad84b625c8f1&#039;<\/p>\n<p>\u5982\u679c\u8fd4\u56de\u6570\u636e\u5982\u4e0b\u6240\u793a&#xff0c;\u5219\u8868\u793a APISIX \u6210\u529f\u542f\u52a8&#xff1a;<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string-property property\">&#034;count&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token number\">0<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string-property property\">&#034;node&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token string-property property\">&#034;key&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;\/apisix\/services&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string-property property\">&#034;nodes&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string-property property\">&#034;dir&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token boolean\">true<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p><img decoding=\"async\" src=\"2025-04-19plir3pauguh.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb896\u6b21\uff0c\u70b9\u8d5e24\u6b21\uff0c\u6536\u85cf20\u6b21\u3002\u9002\u7528\u4e8e\u5728Linux\u4e0a\u5b89\u88c5\u90e8\u7f72Docker\uff0c\u91c7\u7528\u7684\u64cd\u4f5c\u7cfb\u7edf\u662fUbuntu 22.04 \u4e14\u9002\u7528\u4e8e Ubuntu \u7684 Docker \u5f15\u64ce\u4e0e x86_64\uff08\u6216 amd64\uff09\u3001armhf\u3001arm64\u3001 S390x \u548c PPC64LE \uff08PPC64EL\uff09 \u67b6\u6784\u3002(2) \u5728\u5b89\u88c5 Docker \u5f15\u64ce\u4e4b\u524d\uff0c\u9700\u8981\u5378\u8f7d\u4efb\u4f55\u51b2\u7a81\u7684\u5305\u3002\u4f7f\u7528\u6b64\u65b9\u6cd5\u5b89\u88c5 APISIX\uff0c\u4f60\u9700\u8981\u5b89\u88c5 Docker \u548c Docker Compose\u30023\uff09\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u4f60\u53ef\u4ee5\u5728\u8fd0\u884c Docker \u7684\u5bbf\u4e3b\u673a\u4e0a\u6267\u884c curl \u547d\u4ee4\u8bbf\u95ee Admin\u3002_docker \u90e8\u7f72 apisix<\/p>\n","protected":false},"author":2,"featured_media":26094,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[103,43,2079,44],"topic":[],"class_list":["post-26114","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-ubuntu","tag-43","tag-2079","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u516d\u3001\u7269\u7406\uff08\u4e91\uff09\u670d\u52a1\u5668Ubuntu \u90e8\u7f72APISIX\uff082\uff09 - \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\/26114.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u516d\u3001\u7269\u7406\uff08\u4e91\uff09\u670d\u52a1\u5668Ubuntu \u90e8\u7f72APISIX\uff082\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb896\u6b21\uff0c\u70b9\u8d5e24\u6b21\uff0c\u6536\u85cf20\u6b21\u3002\u9002\u7528\u4e8e\u5728Linux\u4e0a\u5b89\u88c5\u90e8\u7f72Docker\uff0c\u91c7\u7528\u7684\u64cd\u4f5c\u7cfb\u7edf\u662fUbuntu 22.04 \u4e14\u9002\u7528\u4e8e Ubuntu \u7684 Docker \u5f15\u64ce\u4e0e x86_64\uff08\u6216 amd64\uff09\u3001armhf\u3001arm64\u3001 S390x \u548c PPC64LE \uff08PPC64EL\uff09 \u67b6\u6784\u3002(2) \u5728\u5b89\u88c5 Docker \u5f15\u64ce\u4e4b\u524d\uff0c\u9700\u8981\u5378\u8f7d\u4efb\u4f55\u51b2\u7a81\u7684\u5305\u3002\u4f7f\u7528\u6b64\u65b9\u6cd5\u5b89\u88c5 APISIX\uff0c\u4f60\u9700\u8981\u5b89\u88c5 Docker \u548c Docker Compose\u30023\uff09\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u4f60\u53ef\u4ee5\u5728\u8fd0\u884c Docker \u7684\u5bbf\u4e3b\u673a\u4e0a\u6267\u884c curl \u547d\u4ee4\u8bbf\u95ee Admin\u3002_docker \u90e8\u7f72 apisix\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/26114.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-19T06:38:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419063810-680344d22022e.png\" \/>\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\/26114.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/26114.html\",\"name\":\"\u516d\u3001\u7269\u7406\uff08\u4e91\uff09\u670d\u52a1\u5668Ubuntu \u90e8\u7f72APISIX\uff082\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-19T06:38:17+00:00\",\"dateModified\":\"2025-04-19T06:38:17+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/26114.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/26114.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/26114.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u516d\u3001\u7269\u7406\uff08\u4e91\uff09\u670d\u52a1\u5668Ubuntu \u90e8\u7f72APISIX\uff082\uff09\"}]},{\"@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":"\u516d\u3001\u7269\u7406\uff08\u4e91\uff09\u670d\u52a1\u5668Ubuntu \u90e8\u7f72APISIX\uff082\uff09 - \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\/26114.html","og_locale":"zh_CN","og_type":"article","og_title":"\u516d\u3001\u7269\u7406\uff08\u4e91\uff09\u670d\u52a1\u5668Ubuntu \u90e8\u7f72APISIX\uff082\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb896\u6b21\uff0c\u70b9\u8d5e24\u6b21\uff0c\u6536\u85cf20\u6b21\u3002\u9002\u7528\u4e8e\u5728Linux\u4e0a\u5b89\u88c5\u90e8\u7f72Docker\uff0c\u91c7\u7528\u7684\u64cd\u4f5c\u7cfb\u7edf\u662fUbuntu 22.04 \u4e14\u9002\u7528\u4e8e Ubuntu \u7684 Docker \u5f15\u64ce\u4e0e x86_64\uff08\u6216 amd64\uff09\u3001armhf\u3001arm64\u3001 S390x \u548c PPC64LE \uff08PPC64EL\uff09 \u67b6\u6784\u3002(2) \u5728\u5b89\u88c5 Docker \u5f15\u64ce\u4e4b\u524d\uff0c\u9700\u8981\u5378\u8f7d\u4efb\u4f55\u51b2\u7a81\u7684\u5305\u3002\u4f7f\u7528\u6b64\u65b9\u6cd5\u5b89\u88c5 APISIX\uff0c\u4f60\u9700\u8981\u5b89\u88c5 Docker \u548c Docker Compose\u30023\uff09\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u4f60\u53ef\u4ee5\u5728\u8fd0\u884c Docker \u7684\u5bbf\u4e3b\u673a\u4e0a\u6267\u884c curl \u547d\u4ee4\u8bbf\u95ee Admin\u3002_docker \u90e8\u7f72 apisix","og_url":"https:\/\/www.wsisp.com\/helps\/26114.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-19T06:38:17+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419063810-680344d22022e.png"}],"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\/26114.html","url":"https:\/\/www.wsisp.com\/helps\/26114.html","name":"\u516d\u3001\u7269\u7406\uff08\u4e91\uff09\u670d\u52a1\u5668Ubuntu \u90e8\u7f72APISIX\uff082\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-19T06:38:17+00:00","dateModified":"2025-04-19T06:38:17+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/26114.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/26114.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/26114.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u516d\u3001\u7269\u7406\uff08\u4e91\uff09\u670d\u52a1\u5668Ubuntu \u90e8\u7f72APISIX\uff082\uff09"}]},{"@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\/26114","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=26114"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/26114\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/26094"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=26114"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=26114"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=26114"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=26114"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}