Update README.md

This commit is contained in:
Li Yi
2018-11-19 10:27:56 +08:00
committed by GitHub
parent 878a4a1be0
commit 444f797e4c

View File

@@ -6,7 +6,9 @@ This image is built from official Maven Docker image with [Aliyun Mirror](http:/
For many simple projects, you may find it inconvenient to write a complete Dockerfile. In such cases, you can run a Maven project by using the Maven Docker image directly, passing a Maven command to docker run:
```
docker run -it --rm --name my-maven-project -v "$(pwd)":/usr/src/mymaven -w /usr/src/mymaven registry.cn-hangzhou.aliyuncs.com/acs/maven mvn clean install
```
### More usages