From 0b83783ab357e82a65fb1aaa3487ba9f4c6dd2d9 Mon Sep 17 00:00:00 2001 From: marco-parillo <32338352+marco-parillo@users.noreply.github.com> Date: Wed, 24 Jun 2020 16:51:41 -0400 Subject: [PATCH 1/2] Add section on starting docker and sudo for docker-compose --- docs/index.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/docs/index.md b/docs/index.md index da3d56e3..f4039b59 100644 --- a/docs/index.md +++ b/docs/index.md @@ -29,19 +29,29 @@ Thanks to everyone who visits our Stark & Wayne booth at conferences and says "T 1. Install [Docker](https://www.docker.com/community-edition). 2. Install [Docker Compose](https://docs.docker.com/compose/install/#install-compose) if not included in your Docker installation. -3. Deploy Concourse using Docker Compose: +3. Start Docker + ```plain + systemctl enable docker + systemctl start docker + sudo docker info + ``` + You should not et an error message. +4. Deploy Concourse using Docker Compose: ```plain wget https://raw.githubusercontent.com/starkandwayne/concourse-tutorial/master/docker-compose.yml docker-compose up -d ``` - Following are the issues could face during windows + Following are the issues could face: + a) For windows amd issue . please follow below steps. - Right click Docker instance - Go to Settings -> Daemon -> Advanced -> Set the "experimental": true - Restart Docker - Switch to Linux container and restart the docker + b) For Linux, you may need to use ```sudo docker-compose up -d``` + ### Test Setup From efc48c76f9a92b4d83c0ea7ac1bda5fa5174d943 Mon Sep 17 00:00:00 2001 From: marco-parillo <32338352+marco-parillo@users.noreply.github.com> Date: Wed, 24 Jun 2020 17:00:57 -0400 Subject: [PATCH 2/2] Need to issue docker-compose from the home directory and with sudo --- docs/index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index f4039b59..72cebf48 100644 --- a/docs/index.md +++ b/docs/index.md @@ -110,5 +110,6 @@ When we use the `fly` command we will target this Concourse API using `fly --tar When you've finished with your local Concourse, deployed via `docker-compose up`, you can use `docker-compose down` to destroy it. ```plain -docker-compose down +cd ~ +sudo docker-compose down ```