|
|
@@ -146,6 +146,10 @@ class Start
|
|
|
if (file_exists($directory . '/config/docker.yml')) {
|
|
|
system("docker-compose -f {$directory}/config/docker.yml rm -s -f");
|
|
|
}
|
|
|
+ $redis = $this->getRedis();
|
|
|
+ $lockKey = static::IP_LOCK_KEY . $ip;
|
|
|
+ $redis->del($lockKey);
|
|
|
+
|
|
|
// 容器存储目录
|
|
|
$directory = $this->containersBasePath . $name;
|
|
|
system("sudo rm -rf {$directory}");
|