{"id":5594,"date":"2019-09-20T15:39:04","date_gmt":"2019-09-20T20:39:04","guid":{"rendered":"https:\/\/www.rushworth.us\/lisa\/?p=5594"},"modified":"2019-09-20T15:39:04","modified_gmt":"2019-09-20T20:39:04","slug":"docker-hub","status":"publish","type":"post","link":"https:\/\/www.rushworth.us\/lisa\/?p=5594","title":{"rendered":"Docker Hub"},"content":{"rendered":"<p><strong><em>Docker Official Images: <\/em><\/strong>Official images won\u2019t have a publisher listed, and they will be tagged with \u201cOfficial Image\u201d.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"821\" height=\"391\" class=\"wp-image-5595\" src=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2019\/09\/word-image-21.png\" srcset=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2019\/09\/word-image-21.png 821w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2019\/09\/word-image-21-300x143.png 300w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2019\/09\/word-image-21-768x366.png 768w\" sizes=\"auto, (max-width: 821px) 100vw, 821px\" \/><\/p>\n<p>Docker Official Images are a set of images curated by Docker. They\u2019re generally recommended for new users as Docker has a team that reviews and publishes these images. Beyond Docker\u2019s verification, you can see how an individual image was built. Navigate to the <a href=\"https:\/\/github.com\/docker-library\/official-images\/tree\/master\/library\">GitHub image library<\/a>. Find the file corresponding with the image, and you\u2019ll see a GitRepo line. Navigate to that URL to find the Dockerfiles that were used to build the image.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1025\" height=\"429\" class=\"wp-image-5596\" src=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2019\/09\/word-image-22.png\" srcset=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2019\/09\/word-image-22.png 1025w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2019\/09\/word-image-22-300x126.png 300w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2019\/09\/word-image-22-768x321.png 768w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2019\/09\/word-image-22-1024x429.png 1024w\" sizes=\"auto, (max-width: 1025px) 100vw, 1025px\" \/><\/p>\n<p><strong><em>Docker Certified: <\/em><\/strong>Other images will be certified by Docker \u2013 these are published by someone other than Docker but have been tested &amp; scanned for vulnerabilities, they come from a reputable source, and comply with best practice guidelines.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"765\" height=\"422\" class=\"wp-image-5597\" src=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2019\/09\/word-image-23.png\" srcset=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2019\/09\/word-image-23.png 765w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2019\/09\/word-image-23-300x165.png 300w\" sizes=\"auto, (max-width: 765px) 100vw, 765px\" \/><\/p>\n<p>If you click on the hyperlinked organization name, they are listed as a verified publisher \u2013 this means someone put a little effort into ensuring \u201cOracle\u201d is actually the corporation everyone thinks of when they hear \u201cOracle\u201d<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"921\" height=\"237\" class=\"wp-image-5598\" src=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2019\/09\/word-image-24.png\" srcset=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2019\/09\/word-image-24.png 921w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2019\/09\/word-image-24-300x77.png 300w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2019\/09\/word-image-24-768x198.png 768w\" sizes=\"auto, (max-width: 921px) 100vw, 921px\" \/><\/p>\n<p><strong><em>Other Images: <\/em><\/strong>You\u2019ll also find containers that are not certified that have been published by un-verified parties. Don\u2019t use these without some investigation.<\/p>\n<p>We happen to interact with OpenHAB developers and \u201cknow\u201d the guy who builds these images. I trust him and do run this image on my home network. I also know where to go to view his Dockerfiles, and I know how his images are built. <a href=\"https:\/\/github.com\/openhab\/openhab-docker\">https:\/\/github.com\/openhab\/openhab-docker<\/a><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"826\" height=\"286\" class=\"wp-image-5599\" src=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2019\/09\/word-image-25.png\" srcset=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2019\/09\/word-image-25.png 826w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2019\/09\/word-image-25-300x104.png 300w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2019\/09\/word-image-25-768x266.png 768w\" sizes=\"auto, (max-width: 826px) 100vw, 826px\" \/><\/p>\n<p>But there are images posted by random Internet denizens \u2013 I run Docker on my personal Windows laptop and needed to access the underlying MobyVM. The image justincormack\/nsenter1 will do it \u2026 but I have no idea who this person is. A quick search of the Internet yielded <a href=\"https:\/\/github.com\/justincormack\/nsenter1\">a Dockerfile for this image<\/a>, but there\u2019s nothing that ensures the image on Docker Hub is actually built with this file. It\u2019s safer to use the Dockerfile to <a href=\"https:\/\/www.rushworth.us\/lisa\/?p=5587\" target=\"_blank\" rel=\"noopener noreferrer\">build your own version of the image<\/a>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"723\" height=\"317\" class=\"wp-image-5600\" src=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2019\/09\/word-image-26.png\" srcset=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2019\/09\/word-image-26.png 723w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2019\/09\/word-image-26-300x132.png 300w\" sizes=\"auto, (max-width: 723px) 100vw, 723px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Docker Official Images: Official images won\u2019t have a publisher listed, and they will be tagged with \u201cOfficial Image\u201d. Docker Official Images are a set of images curated by Docker. They\u2019re generally recommended for new users as Docker has a team that reviews and publishes these images. Beyond Docker\u2019s verification, you can see how an individual &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[623],"tags":[231],"class_list":["post-5594","post","type-post","status-publish","format-standard","hentry","category-containerized-development-and-deployment","tag-docker"],"_links":{"self":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/5594","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5594"}],"version-history":[{"count":1,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/5594\/revisions"}],"predecessor-version":[{"id":5601,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/5594\/revisions\/5601"}],"wp:attachment":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5594"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5594"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5594"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}