docker run -it --rm openjdk:21-jdk-alpine java -version 这条命令会启动一个临时的容器,运行 java -version 命令来验证 Java 版本,然后容器会自动删除。 持久化使用(如果需要): 你可以创建一个 Dockerfile 来定义你的应用环境,并基于 openjdk:21-jdk-alpine 镜像构建你的自定义镜像。4...
Welcome to pull requests! Pull requests help you collaborate on code with other people. As pull requests are created, they’ll appear here in a searchable and filterable list. To get started, you should create a pull request.ProTip! Filter pull requests by the default branch with base:main....