{"id":3007,"date":"2017-12-23T15:37:36","date_gmt":"2017-12-23T07:37:36","guid":{"rendered":"http:\/\/switch.linesno.com\/?p=3007"},"modified":"2017-12-23T15:37:58","modified_gmt":"2017-12-23T07:37:58","slug":"kubernetes-minikube%e4%bd%bf%e7%94%a8insecure-registry","status":"publish","type":"post","link":"http:\/\/switch.linesno.com\/?p=3007","title":{"rendered":"Kubernetes &#8211; minikube\u4f7f\u7528insecure-registry"},"content":{"rendered":"<p>\u65b9\u6cd5\uff1a<\/p>\n<pre class=\"prettyprint\"><code class=\"hljs brainfuck has-numbering\"><span class=\"hljs-comment\">minikube<\/span> <span class=\"hljs-comment\">start<\/span> <span class=\"hljs-literal\">-<\/span><span class=\"hljs-literal\">-<\/span><span class=\"hljs-comment\">vm<\/span><span class=\"hljs-literal\">-<\/span><span class=\"hljs-comment\">driver=virtualbox<\/span> <span class=\"hljs-literal\">-<\/span><span class=\"hljs-literal\">-<\/span><span class=\"hljs-comment\">insecure<\/span><span class=\"hljs-literal\">-<\/span><span class=\"hljs-comment\">registry=harbor<\/span><span class=\"hljs-string\">.<\/span><span class=\"hljs-comment\">test<\/span><span class=\"hljs-string\">.<\/span><span class=\"hljs-comment\">com<\/span><\/code><\/pre>\n<p>\u4f46\u662f\u5982\u679c\u4f60\u5df2\u7ecf&#8217;minikube start&#8217;\u8fc7\uff0c\u90a3\u5fc5\u987b\u5148\uff1a<\/p>\n<pre class=\"prettyprint\"><code class=\"hljs javascript has-numbering\">minikube <span class=\"hljs-keyword\">delete<\/span><\/code><\/pre>\n<p>\u7136\u540e<\/p>\n<pre class=\"prettyprint\"><code class=\"hljs brainfuck has-numbering\"><span class=\"hljs-comment\">minikube<\/span> <span class=\"hljs-comment\">start<\/span> <span class=\"hljs-literal\">-<\/span><span class=\"hljs-literal\">-<\/span><span class=\"hljs-comment\">vm<\/span><span class=\"hljs-literal\">-<\/span><span class=\"hljs-comment\">driver=virtualbox<\/span> <span class=\"hljs-literal\">-<\/span><span class=\"hljs-literal\">-<\/span><span class=\"hljs-comment\">insecure<\/span><span class=\"hljs-literal\">-<\/span><span class=\"hljs-comment\">registry=harbor<\/span><span class=\"hljs-string\">.<\/span><span class=\"hljs-comment\">test<\/span><span class=\"hljs-string\">.<\/span><span class=\"hljs-comment\">com<\/span><\/code><\/pre>\n<p>\u5373\u53ef\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u65b9\u6cd5\uff1a minikube start &#8211;vm-driver=virtualbox &#8211;insecure-re [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[70],"tags":[],"class_list":["post-3007","post","type-post","status-publish","format-standard","hentry","category-server"],"_links":{"self":[{"href":"http:\/\/switch.linesno.com\/index.php?rest_route=\/wp\/v2\/posts\/3007","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/switch.linesno.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/switch.linesno.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/switch.linesno.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/switch.linesno.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3007"}],"version-history":[{"count":2,"href":"http:\/\/switch.linesno.com\/index.php?rest_route=\/wp\/v2\/posts\/3007\/revisions"}],"predecessor-version":[{"id":3009,"href":"http:\/\/switch.linesno.com\/index.php?rest_route=\/wp\/v2\/posts\/3007\/revisions\/3009"}],"wp:attachment":[{"href":"http:\/\/switch.linesno.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3007"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/switch.linesno.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3007"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/switch.linesno.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3007"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}