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

feat(region,host,climc): support container post image overlay #21942

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

zexi
Copy link
Member

@zexi zexi commented Jan 8, 2025

What this PR does / why we need it:

# 更新镜像属性
climc image-update --used-by-post-overlay \
        --internal-path-map 'com.taobao.taobao/10.42.12/data/data/com.taobao.taobao:/data/data/com.taobao.taobao' \
        --internal-path-map 'com.taobao.taobao/10.42.12/data/app/~~Qi8scSGsWczNlskrZA3TXg==:/data/app/~~Qi8scSGsWczNlskrZA3TXg==' \
        com.taobao.taobao

# 挂载 post overlay
climc container-add-volume-mount-post-overlay \
        --image com.taobao.taobao \
        qj-test-batch-01-0 0

# 卸载 post overlay
climc container-remove-volume-mount-post-overlay \
        --use-lazy --clear-layers \
        --image com.taobao.taobao \
        qj-test-batch-01-0 0

Does this PR need to be backport to the previous release branch?:

/area climc host region

@zexi zexi force-pushed the container-image-pov branch from 170df8a to 31b71da Compare January 9, 2025 06:04
@zexi zexi merged commit f46c325 into yunionio:master Jan 9, 2025
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.

2 participants