Skip to content
This repository was archived by the owner on May 24, 2024. It is now read-only.

Commit 9d1dd34

Browse files
rhatdancgwalters
authored andcommitted
Add Volume: /var/lib/containers/storage
When running a bootc image as an OCI contianer, embeded containers will fail. This is because OSTree on OSTree is not allowed. Defaulting /var/lib/containers/storage to a Volume fixes the problem. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
1 parent 8c9e570 commit 9d1dd34

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

centos-bootc-config.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,8 @@
66
"redhat.id": "centos",
77
"redhat.version-id": "9"
88
},
9-
"StopSignal": "SIGRTMIN+3"
9+
"StopSignal": "SIGRTMIN+3",
10+
"Volumes": {
11+
"/var/lib/containers/storage": {}
12+
}
1013
}

fedora-bootc-config.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,8 @@
55
"redhat.id": "fedora",
66
"redhat.version-id": "40"
77
},
8-
"StopSignal": "SIGRTMIN+3"
8+
"StopSignal": "SIGRTMIN+3",
9+
"Volumes": {
10+
"/var/lib/containers/storage": {}
11+
}
912
}

0 commit comments

Comments
 (0)