Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F16927326
D256.1766155380.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
857 B
Referenced Files
None
Subscribers
None
D256.1766155380.diff
View Options
diff --git a/lilybuild/podman-helper b/lilybuild/podman-helper
--- a/lilybuild/podman-helper
+++ b/lilybuild/podman-helper
@@ -88,6 +88,7 @@
f'--pod={pod}',
f'--net={networks[0]}',
f'--network-alias={alias}',
+ '--image-volume=ignore',
'--label', 'lilybuild=helper',
'-e', 'PUID=0',
'-e', 'PGID=0',
@@ -190,7 +191,8 @@
stop_proc = verbose_run(['podman', 'container', 'stop', '--', container_id])
if stop_proc.returncode != 0:
perror('Cannot stop container.')
- rm_proc = verbose_run(['podman', 'container', 'rm', '-f', '--', container_id])
+ # -v removes anonymous volumes associated with the container
+ rm_proc = verbose_run(['podman', 'container', 'rm', '-f', '-v', '--', container_id])
pinfo('Cleaned.')
return retcode
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 19, 6:43 AM (20 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
796424
Default Alt Text
D256.1766155380.diff (857 B)
Attached To
Mode
D256: Make sure no volumes are left behind the build
Attached
Detach File
Event Timeline
Log In to Comment