diff --git a/main/guides/getting-started/index.md b/main/guides/getting-started/index.md index c071420dd..ba0e5bf45 100644 --- a/main/guides/getting-started/index.md +++ b/main/guides/getting-started/index.md @@ -105,7 +105,7 @@ yarn --version # for verification
Installing Docker -For docker, you can either download Docker UI using the steps on the [installation for Ubuntu](https://docs.docker.com/desktop/install/ubuntu/) or [installation for Ubuntu](https://docs.docker.com/desktop/install/mac-install/) +For docker, you can either download Docker UI using the steps on the [installation for Ubuntu](https://docs.docker.com/desktop/install/ubuntu/) or [installation for Mac](https://docs.docker.com/desktop/install/mac-install/) To install via CLI, you can check following details. @@ -136,30 +136,50 @@ Now you can install Docker! sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin ``` -
-
-Installing Docker on MacOS -Previously, you installed brew on your machine. You can install docker using the same command. +Now that Docker has been installed you'll need to add your user account to the Docker group. ```sh -brew cask install docker +sudo usermod -aG docker $USER +``` + +Since your user account was just added to the docker group, run the following command to re-evaluate group memberships. + +```sh +exec su -l $USER ```
-Now that Docker has been installed you'll need to add your user account to the Docker group. +
+Installing Docker on MacOS +You can install Docker using their official documentation or Homebrew. + +**Using Docker's Website:** + +Follow the [official Docker installation guide for Mac](https://docs.docker.com/desktop/install/mac-install/). + +After installing Docker Desktop, you can start docker with: ```sh -sudo usermod -aG docker $USER +open -a Docker ``` -Since your user account was just added to the docker group, run the following command to re-evaluate group memberships. +**Using Homebrew:** + +Previously, you installed brew on your machine. You can install docker using the same command. + ```sh -exec su -l $USER +brew cask install docker +``` +or +```sh +brew install docker --cask ``` +
+ Now test that Docker works by running the `hello-world` sample. ```sh @@ -193,6 +213,8 @@ For more examples and ideas, visit: + + ## Creating Your Dapp From a Template Now you'll use yarn to pull down the sample dapp. The sample dapp will be placed in a subfolder named `demo`. diff --git a/yarn.lock b/yarn.lock index 5ae51cb4a..e38f303d2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5681,4 +5681,4 @@ yargs@^17.5.1: yocto-queue@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-1.0.0.tgz#7f816433fb2cbc511ec8bf7d263c3b58a1a3c251" - integrity sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g== + integrity sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g== \ No newline at end of file