mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-11-01 18:58:20 +00:00
add --rm option to docker builder
Signed-off-by: Wataru Ishida <ishida@nel-america.com>
This commit is contained in:
@@ -171,7 +171,7 @@ else:
|
||||
|
||||
g_arg_d['volume_options'] = " ".join( [ " -v %s:%s " % (v, v) for v in ops.volumes ] )
|
||||
|
||||
g_docker_arguments = "docker run --privileged %(interactive)s -t -e DOCKER_IMAGE=%(image)s --name %(name)s %(ssh_options)s %(volume_options)s " % g_arg_d
|
||||
g_docker_arguments = "docker run --rm --privileged %(interactive)s -t -e DOCKER_IMAGE=%(image)s --name %(name)s %(ssh_options)s %(volume_options)s " % g_arg_d
|
||||
|
||||
if ops.isolate is not None:
|
||||
if len(ops.isolate) is 0:
|
||||
|
||||
Reference in New Issue
Block a user