Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a mechanism to define docker images to pull #28

Merged
merged 2 commits into from
Jan 16, 2024

Conversation

huchen2021
Copy link
Contributor

@huchen2021 huchen2021 commented Jan 11, 2024

Decription

Implement a mechanism to define docker images to pull. This is defined in configuration file "scripts/config.hcl", which is a list of images separated by comma
common_custom_docker_images = "<image1>,<image2>"
For example, if you want pull image "hello-world:latest" and image "alpine:latest" in this OVF. You can define it as followed:

common_custom_docker_images = "hello-world:latest,alpine:latest"

Test

Use the following configuration:
common_custom_docker_images = "hello-world:latest,alpine:latest"
A frozen VM are generated successfully.
image

A ray cluster are provisioned successfully with this frozen VM .
image
image

Check the head node, which is containing docker images as expected:
image

Signed-off-by: Chen Hui <huchen@vmware.com>
builds/linux/debian/variable.pkr.hcl Outdated Show resolved Hide resolved
@JingChen23 JingChen23 merged commit 28b8798 into main Jan 16, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants