Skip to content

Commit

Permalink
[GR-48325] Update Docker run command for native-image OCR container.
Browse files Browse the repository at this point in the history
PullRequest: graal/15458
  • Loading branch information
olyagpl committed Sep 5, 2023
2 parents 4526368 + 09f9d4d commit f6ba25b
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ Oracle GraalVM container images are published in two OCR repositories: **jdk** a
Both repositories provide container images for AMD64 and AArch64 processor architectures, with a choice of Oracle Linux versions 7, 8, or 9.

Oracle GraalVM is installed in `/usr/lib64/graalvm/graalvm-java<$FeatureVersion>` where `<$FeatureVersion>` is `17`, `20`, etc.
For instance, Oracle GraalVM for JDK 17 is installed in `/usr/lib64/graalvm/graalvm-java17`. All binaries, including `java`, `javac`, `native-image`, and other binaries are available as global commands via the `alternatives` command.
For instance, Oracle GraalVM for JDK 17 is installed in `/usr/lib64/graalvm/graalvm-java17`.
All binaries, including `java`, `javac`, `native-image`, and other binaries are available as global commands via the `alternatives` command.

## Tags

Expand All @@ -36,10 +37,10 @@ The following tags are listed from the most-specific tag (at the top) to the lea
The most-specific tag is unique and always points to the same image, while the less-specific tags point to newer image variants over time.

```
17.0.8-ol9-20230725
17.0.8-ol9
17.0.8
17-ol9
17.0.8-ol9-20230904
17.0.8-ol9
17.0.8
17-ol9
17
```

Expand Down Expand Up @@ -78,7 +79,7 @@ The most-specific tag is unique and always points to the same image, while the l
3. To verify, start the container and enter the Bash session:

```bash
docker run -it --rm container-registry.oracle.com/graalvm/native-image:17 bash
docker run -it --rm --entrypoint /bin/bash container-registry.oracle.com/graalvm/native-image:17
```

To check the version of Oracle GraalVM and its installed location, run the `env` command from the Bash prompt:
Expand Down

0 comments on commit f6ba25b

Please sign in to comment.