tb.sh: container stuck in - Removal In Progress
Systemd is once preventing a clean exit of the build container. Mapping /run and /tmp to tmpfs helps on some systems. Partial-bug: 1907119 Change-Id: I3fc54792d18b632fbd5cab678ce4fa348bc96873 Signed-off-by: Scott Little <scott.little@windriver.com>
This commit is contained in:
parent
451b9513e4
commit
bbf8b0402a
2
tb.sh
2
tb.sh
@ -64,6 +64,8 @@ function run_container {
|
|||||||
-v ${HOST_MIRROR_DIR}:/import/mirrors:ro \
|
-v ${HOST_MIRROR_DIR}:/import/mirrors:ro \
|
||||||
-v /sys/fs/cgroup:/sys/fs/cgroup:ro \
|
-v /sys/fs/cgroup:/sys/fs/cgroup:ro \
|
||||||
-v ~/.ssh:/mySSH:ro \
|
-v ~/.ssh:/mySSH:ro \
|
||||||
|
--tmpfs /tmp \
|
||||||
|
--tmpfs /run \
|
||||||
-e "container=docker" \
|
-e "container=docker" \
|
||||||
-e MYUNAME=${MYUNAME} \
|
-e MYUNAME=${MYUNAME} \
|
||||||
--privileged=true \
|
--privileged=true \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user