{"id":57211,"date":"2023-05-01T15:16:34","date_gmt":"2023-05-01T09:46:34","guid":{"rendered":"https:\/\/tothenewco.pro\/blog\/?p=57211"},"modified":"2023-05-18T15:22:01","modified_gmt":"2023-05-18T09:52:01","slug":"docker-installation-for-linux-and-mac","status":"publish","type":"post","link":"https:\/\/tothenewco.pro\/blog\/docker-installation-for-linux-and-mac\/","title":{"rendered":"Docker Installation For Linux And MAC"},"content":{"rendered":"<p><b>FOR LINUX:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">You can install Docker Engine in different ways. Before you install Docker Engine for the first time on a new host machine, you need to set up the Docker repository. Afterward, you can install and update Docker from the repository.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Below are the steps to install docker on your machine.<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\">\n<pre><span style=\"font-weight: 400;\">sudo apt-get update<\/span><\/pre>\n<\/li>\n<li style=\"font-weight: 400;\">\n<pre><span style=\"font-weight: 400;\">sudo apt install apt-transport-https ca-certificates curl software-properties-common<\/span><\/pre>\n<\/li>\n<li style=\"font-weight: 400;\">\n<pre><span style=\"font-weight: 400;\">curl -fsSL https:\/\/download.docker.com\/linux\/ubuntu\/gpg | sudo apt-key add -<\/span><\/pre>\n<\/li>\n<li style=\"font-weight: 400;\">\n<pre><span style=\"font-weight: 400;\">sudo add-apt-repository \"deb [arch=amd64] https:\/\/download.docker.com\/linux\/ubuntu focal stable\"<\/span><\/pre>\n<\/li>\n<li style=\"font-weight: 400;\">\n<pre><span style=\"font-weight: 400;\">sudo apt update<\/span><\/pre>\n<\/li>\n<li style=\"font-weight: 400;\">\n<pre><span style=\"font-weight: 400;\">apt-cache policy docker-ce<\/span><\/pre>\n<\/li>\n<li><span style=\"font-weight: 400;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-57203 size-full\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/04\/1-2.png\" alt=\"Blog image\" width=\"735\" height=\"173\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/04\/1-2.png 735w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/04\/1-2-300x71.png 300w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/04\/1-2-624x147.png 624w\" sizes=\"auto, (max-width: 735px) 100vw, 735px\" \/><\/span><\/li>\n<li style=\"font-weight: 400;\">\n<pre><span style=\"font-weight: 400;\">sudo apt install docker-ce<\/span><\/pre>\n<\/li>\n<li style=\"font-weight: 400;\">\n<pre><span style=\"font-weight: 400;\">sudo systemctl status docker<\/span><\/pre>\n<\/li>\n<li><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-57204 size-full\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/04\/2-2.png\" alt=\"Blog image\" width=\"732\" height=\"166\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/04\/2-2.png 732w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/04\/2-2-300x68.png 300w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/04\/2-2-624x142.png 624w\" sizes=\"auto, (max-width: 732px) 100vw, 732px\" \/><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">If you want to avoid typing<\/span><span style=\"font-weight: 400;\"> sudo<\/span><span style=\"font-weight: 400;\"> whenever you run the <\/span><span style=\"font-weight: 400;\">docker<\/span><span style=\"font-weight: 400;\"> command, add your username to the <\/span><span style=\"font-weight: 400;\">docker<\/span><span style=\"font-weight: 400;\"> group:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\">\n<pre><span style=\"font-weight: 400;\">sudo usermod -aG docker ${USER}<\/span><\/pre>\n<\/li>\n<li style=\"font-weight: 400;\">\n<pre><span style=\"font-weight: 400;\">su - ${USER}<\/span><\/pre>\n<\/li>\n<li style=\"font-weight: 400;\">\n<pre><span style=\"font-weight: 400;\">id -nG<\/span><\/pre>\n<\/li>\n<li style=\"font-weight: 400;\">\n<pre><span style=\"font-weight: 400;\">whoami<\/span><\/pre>\n<\/li>\n<li style=\"font-weight: 400;\">\n<pre><span style=\"font-weight: 400;\">sudo usermod -aG docker ttn<\/span><\/pre>\n<\/li>\n<li style=\"font-weight: 400;\">\n<pre><span style=\"font-weight: 400;\">docker<\/span><\/pre>\n<\/li>\n<li><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-57205 size-full\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/04\/3-1.png\" alt=\"Blog image\" width=\"740\" height=\"281\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/04\/3-1.png 740w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/04\/3-1-300x114.png 300w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/04\/3-1-624x237.png 624w\" sizes=\"auto, (max-width: 740px) 100vw, 740px\" \/><\/li>\n<li style=\"font-weight: 400;\">\n<pre><span style=\"font-weight: 400;\">docker ps<\/span><\/pre>\n<\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Now\u00a0 create a folder for docker setup on pc and follow the below steps:<\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">pwd<br \/>\n<\/span><\/li>\n<\/ul>\n<p>Make a folder named docker and go inside that folder to run the below command.<\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">git clone <\/span><a href=\"https:\/\/github.com\/wodby\/docker4drupal.git\"><span style=\"font-weight: 400;\">https:\/\/github.com\/wodby\/docker4drupal.git<\/span><\/a><\/li>\n<li style=\"font-weight: 400;\">\n<pre><span style=\"font-weight: 400;\">cd docker4drupal\/<\/span><\/pre>\n<\/li>\n<li style=\"font-weight: 400;\">\n<pre><span style=\"font-weight: 400;\">cp docker4drupal\/traefik.yml<\/span><\/pre>\n<\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Make another folder named bootcamp and go inside that folder to run the below command.<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\">\n<pre><span style=\"font-weight: 400;\">sudo chmod 777 bootcamp<\/span><\/pre>\n<\/li>\n<li style=\"font-weight: 400;\">\n<pre><span style=\"font-weight: 400;\">cd docker4drupal\/<\/span><\/pre>\n<\/li>\n<li style=\"font-weight: 400;\">\n<pre><span style=\"font-weight: 400;\">cp docker-compose.override.yml docker-compose.yml .dockerignore .env docker.mk Makefile ..\/bootcamp<\/span><\/pre>\n<\/li>\n<li style=\"font-weight: 400;\">\n<pre><span style=\"font-weight: 400;\">sudo apt install docker-compose<\/span><\/pre>\n<\/li>\n<li style=\"font-weight: 400;\">\n<pre><span style=\"font-weight: 400;\">docker-compose --version<\/span><\/pre>\n<\/li>\n<li><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-57206\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/04\/333.png\" alt=\"Blog image\" width=\"1\" height=\"1\" \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-57208 size-full\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/04\/111.png\" alt=\"Blog image\" width=\"884\" height=\"400\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/04\/111.png 884w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/04\/111-300x136.png 300w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/04\/111-768x348.png 768w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/04\/111-624x282.png 624w\" sizes=\"auto, (max-width: 884px) 100vw, 884px\" \/><\/li>\n<li><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-57207\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/04\/222.png\" alt=\"Blog image\" width=\"1\" height=\"1\" \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-57209 size-full\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/04\/222-1.png\" alt=\"Blog image\" width=\"730\" height=\"372\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/04\/222-1.png 730w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/04\/222-1-300x153.png 300w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/04\/222-1-624x318.png 624w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/li>\n<li><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-57210 size-full\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/04\/333-1.png\" alt=\"Blog image\" width=\"674\" height=\"303\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/04\/333-1.png 674w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/04\/333-1-300x135.png 300w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/04\/333-1-624x281.png 624w\" sizes=\"auto, (max-width: 674px) 100vw, 674px\" \/><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Above is the installation of drupal from docker.<\/span><\/p>\n<p><strong><em>5 pros of Docker over normal server setup are as follows:<\/em><\/strong><\/p>\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Docker enables us to build a container image and use that image across every step of the deployment process.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Docker manages to reduce deployment to seconds as it creates a container for every process and does not boot an OS.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Docker ensures consistent environments from development to production.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Docker ensures our applications and resources are isolated and segregated.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Docker containers ensure consistency across multiple development and release cycles,standardizing our environment.<\/span><\/li>\n<\/ol>\n<p><b>FOR MAC:<\/b><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Double-click Docker.dmg to open the installer, then drag the Docker icon to the Applications folder.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Double-click Docker.app in the Applications folder to start Docker.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">The Docker menu displays the Docker Subscription Service Agreement window.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">After downloading Docker.dmg, run the following commands in a terminal to install Docker Desktop in the Applications folder:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\">\n<pre><span style=\"font-weight: 400;\">sudo hdiutil attach Docker.dmg<\/span><\/pre>\n<\/li>\n<li style=\"font-weight: 400;\">\n<pre><span style=\"font-weight: 400;\">sudo \/Volumes\/Docker\/Docker.app\/Contents\/MacOS\/install<\/span><\/pre>\n<\/li>\n<li style=\"font-weight: 400;\">\n<pre><span style=\"font-weight: 400;\">sudo hdiutil detach \/Volumes\/Docker<\/span><\/pre>\n<\/li>\n<\/ul>\n<div class=\"ap-custom-wrapper\"><\/div><!--ap-custom-wrapper-->","protected":false},"excerpt":{"rendered":"<p>FOR LINUX: You can install Docker Engine in different ways. Before you install Docker Engine for the first time on a new host machine, you need to set up the Docker repository. Afterward, you can install and update Docker from the repository. Below are the steps to install docker on your machine. sudo apt-get update [&hellip;]<\/p>\n","protected":false},"author":1505,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":79,"footnotes":""},"categories":[3602,1400],"tags":[1883,5230,4862,260,5231],"class_list":["post-57211","post","type-post","status-publish","format-standard","hentry","category-drupal","category-ios","tag-docker","tag-dockerinstallation","tag-drupal","tag-linux","tag-mac"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"FOR LINUX: You can install Docker Engine in different ways. Before you install Docker Engine for the first time on a new host machine, you need to set up the Docker repository. Afterward, you can install and update Docker from the repository. Below are the steps to install docker on your machine. sudo apt-get update\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Divyanshi Agarwal\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/tothenewco.pro\/blog\/docker-installation-for-linux-and-mac\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"Docker Installation For Linux And MAC | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"FOR LINUX: You can install Docker Engine in different ways. Before you install Docker Engine for the first time on a new host machine, you need to set up the Docker repository. Afterward, you can install and update Docker from the repository. Below are the steps to install docker on your machine. sudo apt-get update\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/tothenewco.pro\/blog\/docker-installation-for-linux-and-mac\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Docker Installation For Linux And MAC | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"FOR LINUX: You can install Docker Engine in different ways. Before you install Docker Engine for the first time on a new host machine, you need to set up the Docker repository. Afterward, you can install and update Docker from the repository. Below are the steps to install docker on your machine. sudo apt-get update\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/docker-installation-for-linux-and-mac\\\/#article\",\"name\":\"Docker Installation For Linux And MAC | TO THE NEW Blog\",\"headline\":\"Docker Installation For Linux And MAC\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/divyanshi-agarwal\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"\\\/blog\\\/wp-ttn-blog\\\/uploads\\\/2023\\\/04\\\/1-2.png\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/docker-installation-for-linux-and-mac\\\/#articleImage\"},\"datePublished\":\"2023-05-01T15:16:34+05:30\",\"dateModified\":\"2023-05-18T15:22:01+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/docker-installation-for-linux-and-mac\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/docker-installation-for-linux-and-mac\\\/#webpage\"},\"articleSection\":\"Drupal, iOS, docker, dockerinstallation, Drupal, Linux, mac\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/docker-installation-for-linux-and-mac\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/ios\\\/#listItem\",\"name\":\"iOS\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/ios\\\/#listItem\",\"position\":2,\"name\":\"iOS\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/ios\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/docker-installation-for-linux-and-mac\\\/#listItem\",\"name\":\"Docker Installation For Linux And MAC\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/docker-installation-for-linux-and-mac\\\/#listItem\",\"position\":3,\"name\":\"Docker Installation For Linux And MAC\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/ios\\\/#listItem\",\"name\":\"iOS\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/divyanshi-agarwal\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/divyanshi-agarwal\\\/\",\"name\":\"Divyanshi Agarwal\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/docker-installation-for-linux-and-mac\\\/#authorImage\",\"url\":\"https:\\\/\\\/newersworld-sf-static.tothenew.net\\\/prod\\\/profilePicFolder\\\/a73fbb56-4a84-4e66-ad7f-74e9249db111_3632-Divyanshi-Agarwal-PROFILEPICTURE.jpeg\",\"width\":96,\"height\":96,\"caption\":\"Divyanshi Agarwal\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/docker-installation-for-linux-and-mac\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/docker-installation-for-linux-and-mac\\\/\",\"name\":\"Docker Installation For Linux And MAC | TO THE NEW Blog\",\"description\":\"FOR LINUX: You can install Docker Engine in different ways. Before you install Docker Engine for the first time on a new host machine, you need to set up the Docker repository. Afterward, you can install and update Docker from the repository. Below are the steps to install docker on your machine. sudo apt-get update\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/docker-installation-for-linux-and-mac\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/divyanshi-agarwal\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/divyanshi-agarwal\\\/#author\"},\"datePublished\":\"2023-05-01T15:16:34+05:30\",\"dateModified\":\"2023-05-18T15:22:01+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Docker Installation For Linux And MAC | TO THE NEW Blog","description":"FOR LINUX: You can install Docker Engine in different ways. Before you install Docker Engine for the first time on a new host machine, you need to set up the Docker repository. Afterward, you can install and update Docker from the repository. Below are the steps to install docker on your machine. sudo apt-get update","canonical_url":"https:\/\/tothenewco.pro\/blog\/docker-installation-for-linux-and-mac\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/tothenewco.pro\/blog\/docker-installation-for-linux-and-mac\/#article","name":"Docker Installation For Linux And MAC | TO THE NEW Blog","headline":"Docker Installation For Linux And MAC","author":{"@id":"https:\/\/tothenewco.pro\/blog\/author\/divyanshi-agarwal\/#author"},"publisher":{"@id":"https:\/\/tothenewco.pro\/blog\/#organization"},"image":{"@type":"ImageObject","url":"\/blog\/wp-ttn-blog\/uploads\/2023\/04\/1-2.png","@id":"https:\/\/tothenewco.pro\/blog\/docker-installation-for-linux-and-mac\/#articleImage"},"datePublished":"2023-05-01T15:16:34+05:30","dateModified":"2023-05-18T15:22:01+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/tothenewco.pro\/blog\/docker-installation-for-linux-and-mac\/#webpage"},"isPartOf":{"@id":"https:\/\/tothenewco.pro\/blog\/docker-installation-for-linux-and-mac\/#webpage"},"articleSection":"Drupal, iOS, docker, dockerinstallation, Drupal, Linux, mac"},{"@type":"BreadcrumbList","@id":"https:\/\/tothenewco.pro\/blog\/docker-installation-for-linux-and-mac\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog#listItem","position":1,"name":"Home","item":"https:\/\/tothenewco.pro\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/category\/ios\/#listItem","name":"iOS"}},{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/category\/ios\/#listItem","position":2,"name":"iOS","item":"https:\/\/tothenewco.pro\/blog\/category\/ios\/","nextItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/docker-installation-for-linux-and-mac\/#listItem","name":"Docker Installation For Linux And MAC"},"previousItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/docker-installation-for-linux-and-mac\/#listItem","position":3,"name":"Docker Installation For Linux And MAC","previousItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/category\/ios\/#listItem","name":"iOS"}}]},{"@type":"Organization","@id":"https:\/\/tothenewco.pro\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/tothenewco.pro\/blog\/"},{"@type":"Person","@id":"https:\/\/tothenewco.pro\/blog\/author\/divyanshi-agarwal\/#author","url":"https:\/\/tothenewco.pro\/blog\/author\/divyanshi-agarwal\/","name":"Divyanshi Agarwal","image":{"@type":"ImageObject","@id":"https:\/\/tothenewco.pro\/blog\/docker-installation-for-linux-and-mac\/#authorImage","url":"https:\/\/newersworld-sf-static.tothenew.net\/prod\/profilePicFolder\/a73fbb56-4a84-4e66-ad7f-74e9249db111_3632-Divyanshi-Agarwal-PROFILEPICTURE.jpeg","width":96,"height":96,"caption":"Divyanshi Agarwal"}},{"@type":"WebPage","@id":"https:\/\/tothenewco.pro\/blog\/docker-installation-for-linux-and-mac\/#webpage","url":"https:\/\/tothenewco.pro\/blog\/docker-installation-for-linux-and-mac\/","name":"Docker Installation For Linux And MAC | TO THE NEW Blog","description":"FOR LINUX: You can install Docker Engine in different ways. Before you install Docker Engine for the first time on a new host machine, you need to set up the Docker repository. Afterward, you can install and update Docker from the repository. Below are the steps to install docker on your machine. sudo apt-get update","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/tothenewco.pro\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/tothenewco.pro\/blog\/docker-installation-for-linux-and-mac\/#breadcrumblist"},"author":{"@id":"https:\/\/tothenewco.pro\/blog\/author\/divyanshi-agarwal\/#author"},"creator":{"@id":"https:\/\/tothenewco.pro\/blog\/author\/divyanshi-agarwal\/#author"},"datePublished":"2023-05-01T15:16:34+05:30","dateModified":"2023-05-18T15:22:01+05:30"},{"@type":"WebSite","@id":"https:\/\/tothenewco.pro\/blog\/#website","url":"https:\/\/tothenewco.pro\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/tothenewco.pro\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"Docker Installation For Linux And MAC | TO THE NEW Blog","og:description":"FOR LINUX: You can install Docker Engine in different ways. Before you install Docker Engine for the first time on a new host machine, you need to set up the Docker repository. Afterward, you can install and update Docker from the repository. Below are the steps to install docker on your machine. sudo apt-get update","og:url":"https:\/\/tothenewco.pro\/blog\/docker-installation-for-linux-and-mac\/","og:image":"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"Docker Installation For Linux And MAC | TO THE NEW Blog","twitter:description":"FOR LINUX: You can install Docker Engine in different ways. Before you install Docker Engine for the first time on a new host machine, you need to set up the Docker repository. Afterward, you can install and update Docker from the repository. Below are the steps to install docker on your machine. sudo apt-get update","twitter:image":"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"57211","title":null,"description":null,"keywords":[],"keyphrases":{"focus":[],"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":{"id":"#aioseo-article-65e04cb3e26a3","slug":"article","graphName":"Article","label":"Article","properties":{"type":"BlogPosting","name":"#post_title","headline":"#post_title","description":"#post_excerpt","image":"","keywords":"","author":{"name":"#author_name","url":"#author_url"},"dates":{"include":true,"datePublished":"","dateModified":""}}},"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":"{\"article\":{\"articleType\":\"BlogPosting\"},\"course\":{\"name\":\"\",\"description\":\"\",\"provider\":\"\"},\"faq\":{\"pages\":[]},\"product\":{\"reviews\":[]},\"recipe\":{\"ingredients\":[],\"instructions\":[],\"keywords\":[]},\"software\":{\"reviews\":[],\"operatingSystems\":[]},\"webPage\":{\"webPageType\":\"WebPage\"}}","pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"limit_modified_date":false,"created":"2023-05-03 11:47:48","updated":"2024-02-29 09:21:55","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/tothenewco.pro\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/tothenewco.pro\/blog\/category\/ios\/\" title=\"iOS\">iOS<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tDocker Installation For Linux And MAC\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/tothenewco.pro\/blog"},{"label":"iOS","link":"https:\/\/tothenewco.pro\/blog\/category\/ios\/"},{"label":"Docker Installation For Linux And MAC","link":"https:\/\/tothenewco.pro\/blog\/docker-installation-for-linux-and-mac\/"}],"_links":{"self":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/posts\/57211","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/users\/1505"}],"replies":[{"embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/comments?post=57211"}],"version-history":[{"count":4,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/posts\/57211\/revisions"}],"predecessor-version":[{"id":57403,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/posts\/57211\/revisions\/57403"}],"wp:attachment":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/media?parent=57211"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/categories?post=57211"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/tags?post=57211"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}