Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Apr 17, 2015
1 parent 1b5e7ca commit f6d461d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,8 @@ run that old project...

## Usage

To start a container, mapping your `~/.m2` and your java 6 project, run:
Just run:

```bash
docker run \
-v ~/.m2/:/root/.m2 \
-v ~/projects/my-java-6-project:/src/project \
-it caninjas/jdk6 sh -c 'cd /src/project; exec "/bin/bash"'
docker run -it caninjas/jdk6 /bin/bash
```

0 comments on commit f6d461d

Please sign in to comment.