forked from qt-creator/qt-creator
Docker: Automatically remove the container when it exits
Change-Id: I167dfadc79e892807f47332f79f2a5226ffdbe1a Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -573,6 +573,7 @@ void DockerDevicePrivate::tryCreateLocalFileAccess()
|
||||
}
|
||||
|
||||
CommandLine dockerRun{"docker", {"run", "-i", "--cidfile=" + tempFileName,
|
||||
"--rm",
|
||||
"-e", "DISPLAY=:0",
|
||||
"-e", "XAUTHORITY=/.Xauthority",
|
||||
"--net", "host"}};
|
||||
|
Reference in New Issue
Block a user