embark-dtwitter-workshop/instructions/1 Embark Docker install.md

1.2 KiB

Embark Docker install

We will be installing an Embark Docker image that contains all components needed to run Embark and gets us up and running quickly. Alternatively, we could install Embark globally our machine, or locally in our project.

Check your environment

  1. Prior to installing the Embark Docker image, please ensure Docker is installed on your machine.
  2. Ensure Docker is running on your machine.
  3. Start a bash shell (v4+). Please see bash upgrade instructions for more information.
  4. Ensure docker is in your PATH, alternatively we can alias docker: alias docker="/usr/local/bin/docker"

Installing Embark Docker

Now that Docker is set up correctly, let's install the Embark Docker image and start a Docker container.

  1. To get the Embark Docker image (with Embark v3.2.3), simply run:
EMBARK_DOCKER_TAG=3.2.3
source <(curl -L https://bit.ly/run_embark)
  1. Now, we can spin up a container using run_embark <EMBARK COMMAND> (but don't do this just yet).