Skip to content

Commit

Permalink
run the tool in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Bill Wang committed Jun 26, 2020
1 parent 4bb34d1 commit a0be753
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@ You can read more about this on my blog [Here](https://samaritan.ai/blog/reversi

### How to run it

This image has been pushed to `alpine/dfimage`
This tool has been pushed to docker image `alpine/dfimage`, the easiest way is to run the tool in docker container:

```
alias dfimage="docker run -v /var/run/docker.sock:/var/run/docker.sock --rm alpine/dfimage"
dfimage -sV=1.36 nginx:latest
```

This tool will pull docker image automatically. Parameter `-sV=1.36` is not always required.

### How to build it
Git clone the project into your $GOPATH/src directory and perform the following command
```go
Expand Down

0 comments on commit a0be753

Please sign in to comment.