{"id":1369,"date":"2024-04-18T00:23:56","date_gmt":"2024-04-17T16:23:56","guid":{"rendered":"https:\/\/www.kumouse.com\/?p=1369"},"modified":"2024-04-18T00:25:15","modified_gmt":"2024-04-17T16:25:15","slug":"%e9%bb%91%e7%be%a4%e6%99%96-docker-%e6%97%a0%e6%b3%95%e6%8b%89%e5%8f%96%e9%95%9c%e5%83%8f-%e6%9f%a5%e8%af%a2%e6%b3%a8%e5%86%8c%e8%a1%a8%e5%a4%b1%e8%b4%a5-%e8%a7%a3%e5%86%b3%e5%8a%9e%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.kumouse.com\/?p=1369","title":{"rendered":"\u9ed1\u7fa4\u6656 docker \u65e0\u6cd5\u62c9\u53d6\u955c\u50cf \u67e5\u8be2\u6ce8\u518c\u8868\u5931\u8d25 \u89e3\u51b3\u529e\u6cd5"},"content":{"rendered":"<p>\u95ee\u9898\u5173\u952e\u662f\u5b98\u65b9\u8fde\u4e0d\u4e0a\u4e86\u3002<\/p>\n<p>\u89e3\u51b3\u529e\u6cd5\u5c31\u662f\u4f7f\u7528\u56fd\u5185\u52a0\u901f\u7ad9\uff1a\u6bd4\u5982https:\/\/docker.nju.edu.cn<\/p>\n<p>\u53ef\u4ee5\u628a\u6b64\u7ad9\u52a0\u5165\u7fa4\u6656\u7684\u955c\u50cf\u7ad9\u4e2d\u5e76\u4f7f\u7528\uff0c\u4e0d\u670d\u9519\u4e86\u3002\u4f46\u8fd8\u662f\u641c\u4e0d\u51fa\u6765\u955c\u50cf<\/p>\n<p>\u4e24\u4e2a\u529e\u6cd5\uff1a<\/p>\n<p>1 \u4f7f\u7528SSH\u8fde\u63a5\u5230\u7fa4\u6656\u7528\u547d\u4ee4\u4e0b\u8f7d\uff0c\u7136\u540e\u5230\u81ea\u5e26\u7684\u7ba1\u7406\u9875\u9762\u7684\u955c\u50cf\u9875\u4e2d\u5c31\u53ef\u4ee5\u770b\u5230\u521a\u521a\u4e0b\u8f7d\u7684\u955c\u50cf\u4e86<\/p>\n<p>\u64cd\u4f5c\uff1a<\/p>\n<p>\u5148\u641c\u7d22\u9700\u8981\u7684\u955c\u50cf<\/p>\n<blockquote><p>aaaa@DS918PLUS:~$ sudo docker search ubuntu<br \/>\nPassword:<br \/>\nNAME DESCRIPTION STARS OFFICIAL AUTOMATED<br \/>\nubuntu Ubuntu is a Debian-based Linux operating sys\u2026 17003 [OK]<br \/>\nwebsphere-liberty WebSphere Liberty multi-architecture images \u2026 298 [OK]<br \/>\nubuntu-upstart DEPRECATED, as is Upstart (find other proces\u2026 115 [OK]<br \/>\nubuntu\/nginx Nginx, a high-performance reverse proxy &amp; we\u2026 112<br \/>\nneurodebian NeuroDebian provides neuroscience research s\u2026 107 [OK]<br \/>\nubuntu\/squid Squid is a caching proxy for the Web. Long-t\u2026 88<br \/>\nubuntu\/bind9 BIND 9 is a very flexible, full-featured DNS\u2026 83<br \/>\nubuntu\/apache2 Apache, a secure &amp; extensible open-source HT\u2026 72<br \/>\nopen-liberty Open Liberty multi-architecture images based\u2026 64 [OK]<br \/>\nubuntu\/mysql MySQL open source fast, stable, multi-thread\u2026 61<br \/>\nubuntu\/prometheus Prometheus is a systems and service monitori\u2026 60<br \/>\nubuntu-debootstrap DEPRECATED; use &#8220;ubuntu&#8221; instead 52 [OK]<br \/>\nubuntu\/kafka Apache Kafka, a distributed event streaming \u2026 47<br \/>\nubuntu\/postgres PostgreSQL is an open source object-relation\u2026 37<br \/>\nubuntu\/redis Redis, an open source key-value store. Long-\u2026 22<br \/>\nubuntu\/dotnet-aspnet Chiselled Ubuntu runtime image for ASP.NET a\u2026 18<br \/>\nubuntu\/dotnet-runtime Chiselled Ubuntu runtime image for .NET apps\u2026 16<br \/>\nubuntu\/dotnet-deps Chiselled Ubuntu for self-contained .NET &amp; A\u2026 15<br \/>\nubuntu\/jre Distroless Java runtime based on Ubuntu. Lon\u2026 13<br \/>\nubuntu\/zookeeper ZooKeeper maintains configuration informatio\u2026 13<br \/>\nubuntu\/grafana Grafana, a feature rich metrics dashboard &amp; \u2026 9<br \/>\nubuntu\/prometheus-alertmanager Alertmanager handles client alerts from Prom\u2026 9<br \/>\nubuntu\/memcached Memcached, in-memory keyvalue store for smal\u2026 5<br \/>\nubuntu\/cortex Cortex provides storage for Prometheus. Long\u2026 4<br \/>\nubuntu\/cassandra Cassandra, an open source NoSQL distributed \u2026 2<\/p><\/blockquote>\n<p>\u7136\u540e\u62c9\u53d6\uff1a\u5173\u952e\u662f\u6307\u5b9a\u955c\u50cf\u7ad9<\/p>\n<p>aaaa@DS918PLUS:~$ sudo docker pull docker.nju.edu.cn\/library\/ubuntu:16.04<br \/>\n16.04: Pulling from library\/ubuntu<br \/>\n58690f9b18fc: Pull complete<br \/>\nb51569e7c507: Pull complete<br \/>\nda8ef40b9eca: Pull complete<br \/>\nfb15d46c38dc: Pull complete<br \/>\nDigest: sha256:1f1a2d56de1d604801a9671f301190704c25d604a416f59e03c04f5c6ffee0d6<br \/>\nStatus: Downloaded newer image for docker.nju.edu.cn\/library\/ubuntu:16.04<br \/>\ndocker.nju.edu.cn\/library\/ubuntu:16.04<\/p>\n<p>2 \u7b2c\u4e8c\u4e2a\u529e\u6cd5\u5c31\u662f\u5b89\u88c5Portainer<\/p>\n<p>\u8fd9\u4e2a\u4e5f\u662f\u7528\u65b9\u6cd51\uff1a\u5b89\u88c5docker\u955c\u50cf \u6c49\u5316\u597d\u7684\u955c\u50cf\u540d\u79f0\u4e3a 6053537\/portainer-ce<\/p>\n<p><span style=\"font-size: 1rem;\">sudo docker pull docker.nju.edu.cn\/6053537\/portainer-ce<\/span><\/p>\n<p>\u4e0b\u8f7d\u597d\u540e\u8fd0\u884c<\/p>\n<p>sudo docker run -d &#8211;restart=always &#8211;name=&#8221;portainer&#8221; -p 9000:9000 -v \/var\/run\/docker.sock:\/var\/run\/docker.sock -v portainer_data:\/data 6053537\/portainer-ce<\/p>\n<p>\u7136\u540e\u6253\u5f00http:\/\/\u7f51\u76d8IP:9000<\/p>\n<p>\u7b2c\u4e00\u6b21\u8fdb\u5165\u5c31\u8bbe\u7f6e\u4e00\u4e2a12\u4f4d\u7684\u5bc6\u7801<\/p>\n<p>\u7136\u540e\u914d\u7f6e\u597d\u6e90\uff0c\u5c31\u53ef\u4ee5web\u9875\u76f4\u63a5\u4e0b\u8f7d\u955c\u50cf\u4e86<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u95ee\u9898\u5173\u952e\u662f\u5b98\u65b9\u8fde\u4e0d\u4e0a\u4e86\u3002 \u89e3\u51b3\u529e\u6cd5\u5c31\u662f\u4f7f\u7528\u56fd\u5185\u52a0\u901f\u7ad9\uff1a\u6bd4\u5982https:\/\/docker.nju.edu.cn  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,1,14],"tags":[],"class_list":["post-1369","post","type-post","status-publish","format-standard","hentry","category-9","category-uncategorized","category-14"],"_links":{"self":[{"href":"https:\/\/www.kumouse.com\/index.php?rest_route=\/wp\/v2\/posts\/1369","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kumouse.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kumouse.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kumouse.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kumouse.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1369"}],"version-history":[{"count":2,"href":"https:\/\/www.kumouse.com\/index.php?rest_route=\/wp\/v2\/posts\/1369\/revisions"}],"predecessor-version":[{"id":1371,"href":"https:\/\/www.kumouse.com\/index.php?rest_route=\/wp\/v2\/posts\/1369\/revisions\/1371"}],"wp:attachment":[{"href":"https:\/\/www.kumouse.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1369"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kumouse.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1369"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kumouse.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1369"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}