{"id":147,"date":"2017-05-06T12:28:29","date_gmt":"2017-05-06T04:28:29","guid":{"rendered":"http:\/\/blog.ypcun.com\/?p=147"},"modified":"2017-05-06T12:28:29","modified_gmt":"2017-05-06T04:28:29","slug":"debian7%e5%ae%89%e8%a3%85docker","status":"publish","type":"post","link":"https:\/\/xiit.cn\/index.php\/2017\/05\/06\/debian7%e5%ae%89%e8%a3%85docker\/","title":{"rendered":"debian7\u5b89\u88c5docker"},"content":{"rendered":"<p>\u76f4\u63a5\u7528\u5b98\u65b9\u63d0\u4f9b\u7684<a href=\"https:\/\/get.docker.com\/\" target=\"_blank\">https:\/\/get.docker.com\/<\/a>\u5b89\u88c5<br \/>\n<code><br \/>\ncurl -sSL https:\/\/get.docker.com\/ | sh<br \/>\n<\/code><br \/>\n\u5982\u679c\u63d0\u793a\u6ca1\u6709curl\u7684\u8bdd\uff0c\u5148\u5b89\u88c5curl<br \/>\n<code><br \/>\napt-get install curl<br \/>\n<\/code><br \/>\n\u5b89\u88c5\u51fa\u9519\u63d0\u793a<br \/>\nSome packages could not be installed. This may mean that you have<br \/>\nrequested an impossible situation or if you are using the unstable<br \/>\ndistribution that some required packages have not yet been created<br \/>\nor been moved out of Incoming.<br \/>\nThe following information may help to resolve the situation:<\/p>\n<p>The following packages have unmet dependencies:<br \/>\n docker-engine : Depends: init-system-helpers (>= 1.18~) but it is not installable<br \/>\n                 Recommends: aufs-tools but it is not going to be installed<br \/>\n                 Recommends: cgroupfs-mount but it is not installable or<br \/>\n                             cgroup-lite but it is not installable<br \/>\n                 Recommends: git but it is not going to be installed<br \/>\nE: Unable to correct problems, you have held broken packages.<\/p>\n<p>\u89e3\u51b3\u65b9\u6cd5<br \/>\n<code><br \/>\nwget http:\/\/launchpadlibrarian.net\/173841617\/init-system-helpers_1.18_all.deb<br \/>\ndpkg -i init-system-helpers_1.18_all.deb<br \/>\n<\/code><\/p>\n<p>\u518d\u6b21\u6267\u884c\u4e0a\u9762\u5b98\u65b9\u7684\u5b89\u88c5docker\u547d\u4ee4\u3002\u6210\u529f\u3002<\/p>\n<p>docker version<br \/>\nClient:<br \/>\n Version:      17.05.0-ce<br \/>\n API version:  1.29<br \/>\n Go version:   go1.7.5<br \/>\n Git commit:   89658be<br \/>\n Built:        Thu May  4 22:13:40 2017<br \/>\n OS\/Arch:      linux\/amd64<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u76f4\u63a5\u7528\u5b98\u65b9\u63d0\u4f9b\u7684https:\/\/get.docker.com\/\u5b89\u88c5 curl -sSL https:\/\/get [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[29,30],"class_list":["post-147","post","type-post","status-publish","format-standard","hentry","category-debian","tag-debian","tag-docker"],"_links":{"self":[{"href":"https:\/\/xiit.cn\/index.php\/wp-json\/wp\/v2\/posts\/147","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xiit.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xiit.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xiit.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xiit.cn\/index.php\/wp-json\/wp\/v2\/comments?post=147"}],"version-history":[{"count":0,"href":"https:\/\/xiit.cn\/index.php\/wp-json\/wp\/v2\/posts\/147\/revisions"}],"wp:attachment":[{"href":"https:\/\/xiit.cn\/index.php\/wp-json\/wp\/v2\/media?parent=147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xiit.cn\/index.php\/wp-json\/wp\/v2\/categories?post=147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xiit.cn\/index.php\/wp-json\/wp\/v2\/tags?post=147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}