Skip to content

[Bug]: Image and content stores don't honor custom app-data path. #1084

Closed

Description

@jglogan

I have done the following

  • I have searched the existing issues
  • If possible, I've reproduced the issue using the 'main' branch of this project

Steps to reproduce

While running tests, I noticed that if I removed all data and ran a fresh integration test with a custom app-data path, the image and content store data still went to the default path ~/Library/Application Support/com.apple/container.

Current behavior

container system stop
sudo uninstall-container.sh -d
rm -rf "${PWD}/test-data"
mkdir "${PWD}/test-data"
make APP_ROOT="${PWD}/test-data" all test integration
% ls "${PWD}/test-data" ~/Library/Application\ Support/com.apple.container
 % ls "${PWD}/test-data" ~/Library/Application\ Support/com.apple.container
.../Library/Application Support/com.apple.container:
content		snapshots	state.json

.../container/test-data:
apiserver	builder		containers	kernels		networks	plugin-state	volumes

Expected behavior

Imageref store state.json, content store content, and snapshot store snapshots should be in test-data. The default application data directory should not exist.

Environment

- OS: 26
- Xcode: 26
- Container: main

Relevant log output

N/A

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. added this to the 2026-02 milestone on Jan 23, 2026
  2. self-assigned this
    on Jan 23, 2026
  3. added theissue type on Jan 23, 2026
  4. added a commit that references this issue on Jan 23, 2026
    55f2112
  5. added a commit that references this issue on Jan 27, 2026
    8e284c8
  6. added a commit that references this issue on Feb 4, 2026
    8b79ec5
  7. added a commit that references this issue on Feb 18, 2026
    61c0378
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions