Skip to content

Commit 38f5184

Browse files
authored
Merge pull request #876 from eromoe/patch-1
Add `Specific Docker Image Options` for jupyter spark
2 parents ff9357a + ce4d2c0 commit 38f5184

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/using/specifics.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ This page provides details about features specific to one or more images.
44

55
## Apache Spark
66

7+
**Specific Docker Image Options**
8+
* `-p 4040:4040` - The `jupyter/pyspark-notebook` and `jupyter/all-spark-notebook` images open [SparkUI (Spark Monitoring and Instrumentation UI)](http://spark.apache.org/docs/latest/monitoring.html) at default port `4040`, this option map `4040` port inside docker container to `4040` port on host machine . Note every new spark context that is created is put onto an incrementing port (ie. 4040, 4041, 4042, etc.), and it might be necessary to open multiple ports. For example: `docker run -d -p 8888:8888 -p 4040:4040 -p 4041:4041 jupyter/pyspark-notebook`
9+
10+
**Usage Examples**
11+
712
The `jupyter/pyspark-notebook` and `jupyter/all-spark-notebook` images support the use of [Apache Spark](https://spark.apache.org/) in Python, R, and Scala notebooks. The following sections provide some examples of how to get started using them.
813

914
### Using Spark Local Mode
@@ -193,4 +198,4 @@ init = tf.global_variables_initializer()
193198

194199
sess.run(init)
195200
sess.run(hello)
196-
```
201+
```

0 commit comments

Comments
 (0)