Make an alias like alias java='docker run --rm -ti -v $PWD:/home/user/app -v --net host monkeyregal/java:openjdk-8-alpine'
Preferably take the alpine versions, since they are smaller. If you cannot use Alpine linux (they have a different libc), then use the not Alpine version.
Content type
Image
Digest
Size
84.9 MB
Last updated
over 10 years ago
docker pull monkeyregal/java:openjdk-7-alpine