I have done the following
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
Code of Conduct
I have done the following
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
Expected behavior
Imageref store
state.json, content storecontent, and snapshot storesnapshotsshould be intest-data. The default application data directory should not exist.Environment
Relevant log output
Code of Conduct