viirya commented on code in PR #424: URL: https://github.com/apache/spark-website/pull/424#discussion_r1008732019
########## site/index.html: ########## @@ -310,7 +310,7 @@ <h2>What is Apache Spark<span class="tm" style="bottom: 14px;">™</span>?</ <div class="tab-pane fade" id="nav-java" role="tabpanel" aria-labelledby="nav-java-tab"> <div class="mb-2 title">Run now</div> <div class="code"> - <p>$ SPARK-HOME/bin/spark-shell</p> + <p>$ docker run -it apache/spark /opt/spark/bin/spark-shell</p> Review Comment: ```suggestion <p>$ docker run -it --rm apache/spark /opt/spark/bin/spark-shell</p> ``` ########## site/index.html: ########## @@ -293,7 +293,7 @@ <h2>What is Apache Spark<span class="tm" style="bottom: 14px;">™</span>?</ <div class="tab-pane fade" id="nav-scala" role="tabpanel" aria-labelledby="nav-scala-tab"> <div class="mb-2 title">Run now</div> <div class="code"> - <p>$ SPARK-HOME/bin/spark-shell</p> + <p>$ docker run -it apache/spark /opt/spark/bin/spark-shell</p> Review Comment: ```suggestion <p>$ docker run -it --rm apache/spark /opt/spark/bin/spark-shell</p> ``` ########## site/index.html: ########## @@ -273,7 +273,7 @@ <h2>What is Apache Spark<span class="tm" style="bottom: 14px;">™</span>?</ <div class="tab-pane fade" id="nav-sql" role="tabpanel" aria-labelledby="nav-sql-tab"> <div class="mb-2 title">Run now</div> <div class="code"> - <p>$ SPARK-HOME/bin/spark-sql</p> + <p>$ docker run -it apache/spark /opt/spark/bin/spark-sql</p> Review Comment: ```suggestion <p>$ docker run -it --rm apache/spark /opt/spark/bin/spark-sql</p> ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org