netty5/docker/README.md

16 lines
280 B
Markdown
Raw Normal View History

** Create a docker image **
```
docker build -f Dockerfile-netty-centos6 . -t netty-centos6
```
** Using the image **
```
cd /path/to/netty/
```
```
docker run -it -v ~/.m2:/root/.m2 -v ~/.ssh:/root/.ssh -v ~/.gnupg:/root/.gnupg -v `pwd`:/code -w /code netty-centos6 bash
```