Explorar el Código

fix project name

lushuncheng hace 6 años
padre
commit
3347e5c4b0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      command/Start.php

+ 1 - 1
command/Start.php

@@ -135,7 +135,7 @@ class Start
             $log = str_replace('{{containerName}}', $name, $log);
             file_put_contents($directory . '/config/logrotate.conf', $log);
             system("sudo cp -f {$directory}/config/logrotate.conf /etc/logrotate.d/{$name}");
-            // 写入项目变量
+            // 写入项目变量 Found orphan containers
             file_put_contents($directory . '/config/.env', "COMPOSE_PROJECT_NAME={$name}");
             // 启动容器
             system("docker-compose -p {$name} -f {$directory}/config/docker.yml up -d");