{"id":5258,"date":"2021-11-19T17:20:12","date_gmt":"2021-11-19T16:20:12","guid":{"rendered":"https:\/\/roccadomenico.it\/wordpress\/?p=5258"},"modified":"2021-12-07T19:22:07","modified_gmt":"2021-12-07T18:22:07","slug":"installazione-docker-motioneye-on-ubuntu-server-20-1","status":"publish","type":"post","link":"https:\/\/roccadomenico.it\/wordpress\/installazione-docker-motioneye-on-ubuntu-server-20-1\/","title":{"rendered":"installazione docker &#8211; motioneye on ubuntu server 20.1"},"content":{"rendered":"\n<p>step1 installazione docker <\/p>\n\n\n\n<p>tramite pacchetto .deb prelevabile al seguente percorso https:\/\/download.docker.com\/linux\/ubuntu\/dists\/<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><a href=\"https:\/\/download.docker.com\/linux\/ubuntu\/dists\/focal\/pool\/stable\/amd64\/containerd.io_1.4.9-1_amd64.deb\">containerd.io_1.4.9-1_amd64.deb<\/a>\n<a href=\"http:\/\/docker-ce-cli_20.10.9~3-0~ubuntu-focal_amd64.deb\" data-type=\"URL\" data-id=\"docker-ce-cli_20.10.9~3-0~ubuntu-focal_amd64.deb\">docker-ce-cli_20.10.9~3-0~ubuntu-focal_amd64.deb<\/a> \n<a href=\"http:\/\/docker-ce_20.10.9~3-0~ubuntu-focal_amd64.deb\" data-type=\"URL\" data-id=\"docker-ce_20.10.9~3-0~ubuntu-focal_amd64.deb\">docker-ce_20.10.9~3-0~ubuntu-focal_amd64.deb<\/a><\/pre>\n\n\n\n<p>installare con il comando seguante installare i tre pacchetti<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><code>sudo dpkg -i \/path\/to\/package.deb<\/code><\/code><\/pre>\n\n\n\n<p>oppure:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li><code>Add the following line to \/etc\/apt\/sources.list: deb https:\/\/download.docker.com\/linux\/ubuntu\/ focal stable<\/code><\/li><li><code>Install GPG key of the repository: # curl -fsSL https:\/\/download.docker.com\/linux\/ubuntu\/gpg | sudo apt-key add -<\/code><\/li><li><code>Update the package index: # sudo apt-get update<\/code><\/li><li><code>Install docker-ce deb package: # sudo apt-get install docker-ce<\/code><\/li><\/ol>\n\n\n\n<p>start del daemon<\/p>\n\n\n\n<p><code>sudo service docker start<\/code><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>test se docker dunziona<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><code>sudo docker run hello-world<\/code><\/code><\/pre>\n\n\n\n<p>step2 installazione di MOTIONEYE in docker<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><code>docker pull ccrisan\/motioneye:master-amd64<\/code><\/code><\/pre>\n\n\n\n<p>al termine dell&#8217;installazione avviare il docker<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><code>docker run --name=\"motioneye\" \\\n    -p 8765:8765 \\\n    --hostname=\"motioneye\" \\\n    -v \/etc\/localtime:\/etc\/localtime:ro \\\n    -v \/etc\/motioneye:\/etc\/motioneye \\\n    -v \/var\/lib\/motioneye:\/var\/lib\/motioneye \\\n    --restart=\"always\" \\\n    --detach=true \\\n    ccrisan\/motioneye:master-amd64<\/code><\/code><\/pre>\n\n\n\n<p>test motioneye on<\/p>\n\n\n\n<p>your_ip_address:8765<\/p>\n","protected":false},"excerpt":{"rendered":"<p>step1 installazione docker tramite pacchetto .deb prelevabile al seguente percorso https:\/\/download.docker.com\/linux\/ubuntu\/dists\/ containerd.io_1.4.9-1_amd64.deb docker-ce-cli_20.10.9~3-0~ubuntu-focal_amd64.deb docker-ce_20.10.9~3-0~ubuntu-focal_amd64.deb installare con il comando seguante installare i tre pacchetti oppure: Add the following line to \/etc\/apt\/sources.list: deb https:\/\/download.docker.com\/linux\/ubuntu\/ focal stable Install GPG key of the repository: # curl -fsSL https:\/\/download.docker.com\/linux\/ubuntu\/gpg | sudo apt-key add &#8211; Update the package index: # sudo [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[6],"tags":[],"class_list":["post-5258","post","type-post","status-publish","format-standard","hentry","category-twitter"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/roccadomenico.it\/wordpress\/wp-json\/wp\/v2\/posts\/5258","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/roccadomenico.it\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/roccadomenico.it\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/roccadomenico.it\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/roccadomenico.it\/wordpress\/wp-json\/wp\/v2\/comments?post=5258"}],"version-history":[{"count":4,"href":"https:\/\/roccadomenico.it\/wordpress\/wp-json\/wp\/v2\/posts\/5258\/revisions"}],"predecessor-version":[{"id":5263,"href":"https:\/\/roccadomenico.it\/wordpress\/wp-json\/wp\/v2\/posts\/5258\/revisions\/5263"}],"wp:attachment":[{"href":"https:\/\/roccadomenico.it\/wordpress\/wp-json\/wp\/v2\/media?parent=5258"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/roccadomenico.it\/wordpress\/wp-json\/wp\/v2\/categories?post=5258"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/roccadomenico.it\/wordpress\/wp-json\/wp\/v2\/tags?post=5258"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}