mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-10 12:22:36 +00:00
Merge pull request #117 from Pennyzct/rm
rootfs: add '-rm' to delete intermediate container
This commit is contained in:
commit
3375e736c9
@ -98,6 +98,7 @@ if [ -n "${USE_DOCKER}" ] ; then
|
|||||||
# In case Clear Containers Runtime is installed we dont want to hit issue:
|
# In case Clear Containers Runtime is installed we dont want to hit issue:
|
||||||
#https://github.com/clearcontainers/runtime/issues/828
|
#https://github.com/clearcontainers/runtime/issues/828
|
||||||
docker run \
|
docker run \
|
||||||
|
--rm \
|
||||||
--runtime runc \
|
--runtime runc \
|
||||||
--privileged \
|
--privileged \
|
||||||
--env IMG_SIZE="${IMG_SIZE}" \
|
--env IMG_SIZE="${IMG_SIZE}" \
|
||||||
|
@ -212,6 +212,7 @@ if [ -n "${USE_DOCKER}" ] ; then
|
|||||||
# In case Clear Containers Runtime is installed we dont want to hit issue:
|
# In case Clear Containers Runtime is installed we dont want to hit issue:
|
||||||
#https://github.com/clearcontainers/runtime/issues/828
|
#https://github.com/clearcontainers/runtime/issues/828
|
||||||
docker run \
|
docker run \
|
||||||
|
--rm \
|
||||||
--runtime runc \
|
--runtime runc \
|
||||||
--env https_proxy="${https_proxy}" \
|
--env https_proxy="${https_proxy}" \
|
||||||
--env http_proxy="${http_proxy}" \
|
--env http_proxy="${http_proxy}" \
|
||||||
|
Loading…
Reference in New Issue
Block a user