<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Missing &amp;quot;docker start sandbox-hdp&amp;quot; statement in HDP sandbox start/RESTART Powershell script in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Missing-quot-docker-start-sandbox-hdp-quot-statement-in-HDP/m-p/224220#M75006</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Just a quick note: in the current &lt;STRONG&gt;Powershell &lt;/STRONG&gt;version of the Docker HDP sandbox start and restart script, the `docker start` command is missing in case when the `sandbox-hdp` container already exists.&lt;/P&gt;&lt;P&gt;As a consequence, the 1st, initial call to the script (`start-sandbox-hdp-standalone_2-6-4.ps1`) is working, but &lt;STRONG&gt;all further ones will fail&lt;/STRONG&gt; with the following error message:&lt;/P&gt;&lt;PRE&gt;PS C:\tools&amp;gt; powershell -ExecutionPolicy ByPass -File .\start-sandbox-hdp-standalone_2-6-4.ps1
Checking docker daemon...
Docker is up and running
Found HDP Sandbox image
HDP Sandbox container already exists
Error response from daemon: Container &amp;lt;container ID&amp;gt; is not running&lt;/PRE&gt;&lt;P&gt;This error is not present in the bash version, and the correction is straightforward:&lt;/P&gt;&lt;PRE&gt;If ((docker ps -a | Select-String sandbox-hdp) -ne $null) {
    Write-Host "HDP Sandbox container already exists"
    # The start instruction is missing in the official start-sandbox-hdp-standalone_2-6-4.ps1 start/RESTART script
    docker start sandbox-hdp
}
Else {
    Write-Host "Running HDP Sandbox for the first time..."&lt;/PRE&gt;&lt;P&gt;If interested, &lt;STRONG&gt;the whole amended file is available as a Gist here: &lt;/STRONG&gt;&lt;A href="https://gist.github.com/Ardemius/1d8d8d40e35636097981f114796c0280"&gt;https://gist.github.com/Ardemius/1d8d8d40e35636097981f114796c0280&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;</description>
    <pubDate>Mon, 26 Feb 2018 18:49:23 GMT</pubDate>
    <dc:creator>ardemius</dc:creator>
    <dc:date>2018-02-26T18:49:23Z</dc:date>
    <item>
      <title>Missing "docker start sandbox-hdp" statement in HDP sandbox start/RESTART Powershell script</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Missing-quot-docker-start-sandbox-hdp-quot-statement-in-HDP/m-p/224220#M75006</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Just a quick note: in the current &lt;STRONG&gt;Powershell &lt;/STRONG&gt;version of the Docker HDP sandbox start and restart script, the `docker start` command is missing in case when the `sandbox-hdp` container already exists.&lt;/P&gt;&lt;P&gt;As a consequence, the 1st, initial call to the script (`start-sandbox-hdp-standalone_2-6-4.ps1`) is working, but &lt;STRONG&gt;all further ones will fail&lt;/STRONG&gt; with the following error message:&lt;/P&gt;&lt;PRE&gt;PS C:\tools&amp;gt; powershell -ExecutionPolicy ByPass -File .\start-sandbox-hdp-standalone_2-6-4.ps1
Checking docker daemon...
Docker is up and running
Found HDP Sandbox image
HDP Sandbox container already exists
Error response from daemon: Container &amp;lt;container ID&amp;gt; is not running&lt;/PRE&gt;&lt;P&gt;This error is not present in the bash version, and the correction is straightforward:&lt;/P&gt;&lt;PRE&gt;If ((docker ps -a | Select-String sandbox-hdp) -ne $null) {
    Write-Host "HDP Sandbox container already exists"
    # The start instruction is missing in the official start-sandbox-hdp-standalone_2-6-4.ps1 start/RESTART script
    docker start sandbox-hdp
}
Else {
    Write-Host "Running HDP Sandbox for the first time..."&lt;/PRE&gt;&lt;P&gt;If interested, &lt;STRONG&gt;the whole amended file is available as a Gist here: &lt;/STRONG&gt;&lt;A href="https://gist.github.com/Ardemius/1d8d8d40e35636097981f114796c0280"&gt;https://gist.github.com/Ardemius/1d8d8d40e35636097981f114796c0280&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 18:49:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Missing-quot-docker-start-sandbox-hdp-quot-statement-in-HDP/m-p/224220#M75006</guid>
      <dc:creator>ardemius</dc:creator>
      <dc:date>2018-02-26T18:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Missing "docker start sandbox-hdp" statement in HDP sandbox start/RESTART Powershell script</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Missing-quot-docker-start-sandbox-hdp-quot-statement-in-HDP/m-p/224221#M75007</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/69275/ardemius.html" nodeid="69275"&gt;@Thomas SCHWENDER&lt;/A&gt; Thank you for pointer out missing statement. The &lt;A href="https://hortonworks.com/downloads/#sandbox"&gt;Downloads&lt;/A&gt; page will soon be updated.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2018 10:52:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Missing-quot-docker-start-sandbox-hdp-quot-statement-in-HDP/m-p/224221#M75007</guid>
      <dc:creator>gdeleon</dc:creator>
      <dc:date>2018-02-27T10:52:41Z</dc:date>
    </item>
  </channel>
</rss>

