title: nosuchsessionerror: invalid session id - Docker for linux | Protractor
body: <p>I am running into error while running protractor e2e on linux Docker container. My e2e script worked once and started failing. Reboot did not work. Please advise</p>
  <p>Error:</p>
  <pre><code>nosuchsessionerror: invalid session id
  </code></pre>
  <p>Chrome configuration:</p>
  <pre><code>chromeOptions: {
        perfLoggingPrefs: {
          enableNetwork: true
        },
        prefs: { 'safebrowsing.enabled': 'false' },
        args: [
          '--incognito',
          '--start-maximized',
          '--headless',
          '--no-sandbox',
          '--window-size=1920,1080',
          '--ignore-certificate-errors'
          '--enable-features=NetworkService,NetworkServiceInProcess',
          '--remote-debugging-port=4444'
        ],
        excludeSwitches: ['enable-automation'],
        useAutomationExtension: false
      }
  </code></pre>