Sign inSign up

jimkku/app-openjdk17

By jimkku

•Updated about 1 year ago

Quickly host an OpenJDK 17 JAR package using Docker

Image
Languages & frameworks
Web servers
0

799

jimkku/app-openjdk17 repository overview

⁠Objective

Quickly host an OpenJDK 17 JAR package using Docker

⁠How to use

  1. Create A Directory
  2. Upload Your pkg.jar And Rename it to app.jar
  3. Create The Container And Use -v To Mount The Directory Into /app In The Container

⁠For Example 1

docker run -it --name container-name --restart always -p 8080:8080 -v /path/to/dir:/app -d jimkku/app-openjdk17:latest

⁠For Example 2

I hava created a directory named /home/jimkku/example,and I uploaded the app.jar,and the run the following cmd:

docker run -it --name example-app --restart always -p 8080:8080 -v /home/jimkku/example:/app -d jimkku/app-openjdk17:latest

Tag summary

Content type

Image

Digest

sha256:996269154…

Size

181.7 MB

Last updated

about 1 year ago

docker pull jimkku/app-openjdk17