Question 2
Options
A:
Download the Java code from GitHub to your laptop, build the Docker image using a local
Dockerfile, and use docker push to upload It to Container Registry.
B:
Upload the Dockerfile to GitHub for version control, then download it together with the Java code
to your local device, compile and pack container image, and upload the image to Alibaba Cloud
Container Registry via docker push .
C:
Associate your Alibaba Cloud Container Registry instance with your GitHub repository, and upload
the Java code and Dockerfile to GitHub Set u Jenkins environment to automate the process of
building the container image and pushing it to your Container Registry instance.
D:
Associate your Alibaba Cloud Container Registry instance with your GitHub repository, and upload
the Java code and Dockerfile to GitHub Th Container Registry's built-in build service, configuring a
rule that will rebuild your container image whenever your GitHub code is updated
Show Answer
Discussion 0
Clear
Most voted
Newest
No comments yet. Be the first to comment.