{"id":784,"date":"2022-03-31T19:30:59","date_gmt":"2022-03-31T17:30:59","guid":{"rendered":"http:\/\/daisy-street.fr\/?p=784"},"modified":"2022-03-31T19:31:03","modified_gmt":"2022-03-31T17:31:03","slug":"exposer-docker-api","status":"publish","type":"post","link":"https:\/\/daisy-street.fr\/index.php\/2022\/03\/31\/exposer-docker-api\/","title":{"rendered":"exposer Docker API"},"content":{"rendered":"\n<p>I had to edit&nbsp;<code>\/lib\/systemd\/system\/docker.service<\/code>&nbsp;on my Ubuntu 16.04.2 LTS system to modify the line<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>ExecStart=\/usr\/bin\/docker daemon -H fd:\/\/ -H tcp:\/\/0.0.0.0:2375<\/code><\/pre><\/div>\n\n\n\n<p>then<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>sudo systemctl daemon-reload\nsudo systemctl restart docker.service<\/code><\/pre><\/div>\n\n\n\n<p>and everything worked :-). The next step is to figure out how to protect the docker daemon form being hijacked.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had to edit&nbsp;\/lib\/systemd\/system\/docker.service&nbsp;on my Ubuntu 16.04.2 LTS system to modify the line then and everything worked :-). The next step is to figure out how to protect the docker daemon form being hijacked.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ub_ctt_via":"","_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[1],"tags":[107,20,105],"class_list":["post-784","post","type-post","status-publish","format-standard","hentry","category-non-classe","tag-api","tag-docker","tag-tcp"],"jetpack_publicize_connections":[],"featured_image_src":null,"author_info":{"display_name":"admin9483","author_link":"https:\/\/daisy-street.fr\/index.php\/author\/admin9483\/"},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/posts\/784","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/comments?post=784"}],"version-history":[{"count":1,"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/posts\/784\/revisions"}],"predecessor-version":[{"id":785,"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/posts\/784\/revisions\/785"}],"wp:attachment":[{"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/media?parent=784"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/categories?post=784"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/tags?post=784"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}