nodepool-builder: add volume for /var/lib/containers
podman, used by the new containerfile element, requires a non-overlayfs volume at /var/lib/containers to be able to start and extract the container images for us to build from. Add a separate volume for this. Change-Id: I6629034ad0b300d392d3d989dbbf17a1343c06e1
This commit is contained in:
parent
632b2f9df7
commit
4e559edbf5
@ -13,6 +13,7 @@
|
|||||||
loop:
|
loop:
|
||||||
- '/opt/dib_tmp'
|
- '/opt/dib_tmp'
|
||||||
- '/opt/dib_cache'
|
- '/opt/dib_cache'
|
||||||
|
- '/opt/dib_containers'
|
||||||
- '/opt/nodepool_dib'
|
- '/opt/nodepool_dib'
|
||||||
- '/var/log/nodepool/builds'
|
- '/var/log/nodepool/builds'
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
version: '2'
|
version: '2'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
nodepool-builder:
|
nodepool-builder:
|
||||||
image: docker.io/zuul/nodepool-builder:{{ nodepool_builder_container_tag|default('latest') }}
|
image: docker.io/zuul/nodepool-builder:{{ nodepool_builder_container_tag|default('latest') }}
|
||||||
@ -30,3 +31,6 @@ services:
|
|||||||
- /opt/nodepool_dib:/opt/nodepool_dib:rw
|
- /opt/nodepool_dib:/opt/nodepool_dib:rw
|
||||||
# logs (builder + dib build logs under /build)
|
# logs (builder + dib build logs under /build)
|
||||||
- /var/log/nodepool:/var/log/nodepool:rw
|
- /var/log/nodepool:/var/log/nodepool:rw
|
||||||
|
# for the containerfile element/podman; it needs a non-overlayfs
|
||||||
|
# mounted here.
|
||||||
|
- /opt/dib_containers:/var/lib/containers
|
||||||
|
Loading…
Reference in New Issue
Block a user