Skip to content

Instantly share code, notes, and snippets.

@nanobeep
Created September 15, 2017 18:54
Show Gist options
  • Save nanobeep/f3953f1d1724e705b23a164addca902c to your computer and use it in GitHub Desktop.
Save nanobeep/f3953f1d1724e705b23a164addca902c to your computer and use it in GitHub Desktop.
Updates for Anchore Engine Install on Mac OS
diff --git a/Installation.md b/Installation.md
index f79b30b..cc8d0d6 100644
--- a/Installation.md
+++ b/Installation.md
@@ -14,6 +14,10 @@ Anchore Engine can be run manually, using Docker Compose, Kubernetes or any cont
mkdir -p /root/aevolume/config
+Or on Mac OS
+
+ sudo mkdir -p /root/aevolume/config
+
2. Download the sample configuration file [config.yaml](https://github.com/anchore/anchore-engine/blob/master/scripts/docker-compose/config.yaml) from the scripts/docker-compose directory of the github project and save into the directory created in step #1
3. Edit the config.yaml file to specify your email and password for the admin user.
@@ -37,6 +41,10 @@ credentials:
mkdir -p /root/aevolume/db/
+Or on Mac OS
+
+ sudo mkdir -p /root/aevolume/db/
+
## Running Anchore Engine using Docker Compose
To run Anchore Engine using Docker Compose the following additional steps must be performed:
@@ -98,6 +106,12 @@ If you are running Anchore Engine using [Docker for Mac](https://www.docker.com/
4. Increase _Memory_ to at least 4GB
5. Press _Apply & Restart_
+You will also need to add the `/root` directory to Docker's file sharing:
+1. Click on the Moby (Whale)
+2. Select _Preferences_
+3. Select _File Sharing_
+4. Click the plus `+` and select the `/root` directory
+5. Press _Apply & Restart_
## Next steps
diff --git a/Installing-Anchore-CLI.md b/Installing-Anchore-CLI.md
index b8caf11..75137e0 100644
--- a/Installing-Anchore-CLI.md
+++ b/Installing-Anchore-CLI.md
@@ -20,3 +20,9 @@ The Anchore CLI is published as a Python Package that can be installed from sour
git clone https://github.com/anchore/anchore-cli
cd anchore-cli
pip install --user --upgrade .
+
+## Installing Anchore CLI on Mac OS
+
+ sudo easy_install pip
+ sudo pip install anchorecli
+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment