docker build --tag java-linux-jontainer .
- note: container will be removed when the process is stopped
docker run --rm --interactive --tty --privileged --volume $(pwd):/app --name jon-linux java-linux-jontainer
- to get a shell to the started container
docker exec --interactive --tty jon-linux /bin/bash
- start the docker container and run:
java -cp "lib/*:." jontainer.java run /bin/bash