代码之家  ›  专栏  ›  技术社区  ›  loic.lopez

阿维尔铬合金工艺试验后仍然存在

  •  3
  • loic.lopez  · 技术社区  · 6 年前

    在运行了黄昏测试与亚特兰西斯竹子铬进程仍然是“僵尸”。

    请输入我的驾驶员代码:

    $options = (new ChromeOptions())
               ->addArguments(['--disable-gpu', '--headless', '--no-sandbox', ]);
    $chrome = DesiredCapabilities::chrome()
             ->setCapability(ChromeOptions::CAPABILITY,$options)
             ->setCapability('acceptInsecureCerts', true);
    return RemoteWebDriver::create('http://localhost:9515', $chrome);
    

    作曲家.json:

    "require-dev": {
        "barryvdh/laravel-ide-helper": "^2.5",
        "filp/whoops": "^2.0",
        "fzaninotto/faker": "^1.4",
        "laravel/dusk": "^4.0",
        "mockery/mockery": "^1.0",
        "nunomaduro/collision": "^2.0",
        "phpunit/phpunit": "^7.0",
        "squizlabs/php_codesniffer": "3.*"
    }
    

    下面是一个屏幕截图来证明僵尸的过程

    top命令的结果

    Result of top command

    谢谢你的回复。

    0 回复  |  直到 5 年前
        1
  •  0
  •   loic.lopez    5 年前

    经过挖掘,似乎是因为码头集装箱上的一个标志丢失了:

    你呢 附加到您的 docker run 旗帜 --init

    atlassian/bamboo-server

    请注意--init标志是正确获取僵尸进程所必需的。