来自官方文档的 Oracle GraalVM Container Images

简介: 来自官方文档的 Oracle GraalVM Container Images

image.png


docker pull container-registry.oracle.com/graalvm/jdk:17


FROM container-registry.oracle.com/graalvm/jdk:17



Pulling Images

  1. To pull the container image for Oracle GraalVM JDK for a specific JDK feature version, e.g., 17, run:
  2. Copy
  3. docker pull container-registry.oracle.com/graalvm/jdk:17
  4. Alternatively, to use the container image as the base image in your Dockerfile, use:
  5. Copy
  6. FROM container-registry.oracle.com/graalvm/jdk:17
  7. To pull the container image for Oracle GraalVM native-image utility for a specific JDK feature version, e.g., 17, run:
  8. Copy
  9. docker pull container-registry.oracle.com/graalvm/native-image:17
  10. Alternatively, to pull the container image for Oracle GraalVM native-image utility with the musl libc toolchain to create fully statically linked executables, run:
  11. Copy
  12. docker pull container-registry.oracle.com/graalvm/native-image:17-muslib
  13. Alternatively, to use the container image as the base image in your Dockerfile, use:
  14. Copy
  15. FROM container-registry.oracle.com/graalvm/native-image:17-muslib
  16. To verify, start the container and enter the Bash session:
  17. Copy
  18. docker run -it --rm --entrypoint /bin/bash container-registry.oracle.com/graalvm/native-image:17
  19. To check the version of Oracle GraalVM and its installed location, run the env command from the Bash prompt:
  20. Copy
  21. env
  22. The output shows the environment variable JAVA_HOME pointing to the installed Oracle GraalVM version and location.
    To check the Java version, run the following command from the Bash prompt:
  23. Copy
  24. java -version
  25. The output shows the installed Oracle GraalVM Java runtime environment and version information.
    To check the native-image version, run the following command from the Bash prompt:
  26. Copy
  27. native-image --version
  28. The output shows the installed Oracle GraalVM native-image utility version information.
  29. Calling docker pull without specifying a processor architecture pulls container images for the processor architecture that matches your Docker client. To pull container images for a different platform architecture, specify the desired platform architecture with the --platform option and either linux/amd64 or linux/aarch64 as follows:
  30. Copy
  31. docker pull --platform linux/aarch64 container-registry.o


上述内容均来自:

https://docs.oracle.com/en/graalvm/jdk/17/docs/getting-started/container-images/#oracle-graalvm-container-images

相关文章
|
Oracle 关系型数据库
|
Oracle 关系型数据库 Linux
|
Oracle 关系型数据库
|
存储 Oracle Java
深入理解Java 8 Lambda表达式(Oracle官方文档版)
Java 8 问世三年了,9马上也要问世了,所以,嗯,我要开始学8了…… 官方文档:http://docs.oracle.com/javase/tutorial/java/javaOO/lambdaexpressions.
1322 0
|
Oracle 关系型数据库
Oracle官方文档及个人书签地址
Oracle官方文档及个人书签地址 Oracle 资料下载地址                                             ...
1069 0
|
SQL Oracle 关系型数据库
教你如何阅读Oracle数据库官方文档
来源:Ask Oracle社区/栏目:基础教程/时间:2014-01-20/阅读:324次 《 Ask Oracle官方原创 》 Oracle 官方文档 数量庞大,而且往往没有侧重点,让oracle新手看起来很费力。
2562 0
|
Oracle 关系型数据库 Linux
【OH】Oracle软件安装需要的软件包(官方文档)
【OH】Oracle软件安装需要的软件包(官方文档) 1  安装12c 1.1  Table 3 x86-64 Supported Linux 7 Operating System Requirements ...
1375 0
|
Oracle 关系型数据库 JavaScript
如何全文搜索oracle官方文档
【技巧】如何全文搜索oracle官方文档   一.1  BLOG文档结构图       一.2  导读和注意事项 各位技术爱好者,看完本文后,你可以掌握如下的技能,也可以学到一些其它你所不知道的知识,~O(∩_∩)O~: ① 如何在线和离线查看oracle官方...
1124 0
|
Oracle 关系型数据库
Oracle官方文档下载与旧版本下载
非常著名的Oracle官方文档汇总的下载地址: http://tahiti.oracle.com/ 另外,对于10g以前的若干安装版本当前官网已经没有提供下载地址了,但可以通过提交一个SR来寻求帮助。
1452 0
|
Oracle 关系型数据库
Oracle 官方文档阅读顺序
前段时间偶然间在网上看到的这幅图,确实挺好的,就转载过来保存了。
745 0