mirror of
https://github.com/games-on-whales/LXC2Docker.git
synced 2026-10-16 05:12:04 +00:00
[PR #23] [MERGED] Honor image users for initialized volumes #25
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
games-on-whales/LXC2Docker#25
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/games-on-whales/LXC2Docker/pull/23
Author: @JBailes
Created: 5/17/2026
Status: ✅ Merged
Merged: 5/17/2026
Merged by: @JBailes
Base:
docker-lxc-daemon← Head:fix/honor-oci-user📝 Commits (1)
6054c57Honor image users for initialized volumes📊 Changes
8 files changed (+348 additions, -2 deletions)
View changed files
📝
internal/api/containers.go(+43 -2)📝
internal/api/image_save.go(+3 -0)📝
internal/api/images.go(+14 -0)📝
internal/lxc/config.go(+4 -0)📝
internal/lxc/manager.go(+4 -0)➕
internal/lxc/volume_init.go(+213 -0)📝
internal/oci/pull.go(+7 -0)➕
internal/oci/pull_test.go(+60 -0)📄 Description
Summary
Volumesmetadata during pull, inspect, save, and loadVOLUMEpaths when clients do not send them explicitlyTests
go test ./internal/image ./internal/store ./internal/ocigo test ./...(blocked locally: missinglxc.pc/ pkg-config dependency forgithub.com/lxc/go-lxc)Contract
SmoothNAS can set
io.lxc2docker.bind-mounts.init=imageon containers whose bind sources it owns. LXC2Docker only touches empty directory sources, so existing user data is preserved.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.