Skip to content
Permalink
Browse files
Closes #129
Update docker instructions to mount the docker socket

This is because #118 now build docker, therefore the container needs to be able to access the docker engine on the host
  • Loading branch information
Duncan Grant committed Nov 12, 2018
2 parents d3955f7 + 838dfd3 commit f723e574b791b275fe70e51bde5fae71197d3ff7
Showing 1 changed file with 2 additions and 2 deletions.
@@ -22,7 +22,7 @@ docker build -t brooklyn:dist .
Then run the build:

```bash
docker run -i --rm --name brooklyn-dist -v ${HOME}/.m2:/root/.m2 -v ${PWD}:/usr/build -w /usr/build brooklyn:dist mvn clean install
docker run -i --rm --name brooklyn-dist -v /var/run/docker.sock:/var/run/docker.sock -v ${HOME}/.m2:/root/.m2 -v ${PWD}:/usr/build -w /usr/build brooklyn:dist mvn clean install
```

### Using maven
@@ -31,4 +31,4 @@ Simply run:

```bash
mvn clean install
```
```

0 comments on commit f723e57

Please sign in to comment.