官术网_书友最值得收藏!

How to do it...

Docker will all dependencies can be installed using following steps:

  1. Save the preceding code to a location with a name, say, Dockerfile.
  2. Using the command line, go to the file location and use the following command and it is also shown in the screenshot after the command:
docker run -t "TagName:FILENAME"
Building the docker image
  1. Access the image using the docker images command as follows:
View docker images
  1. Docker images can be executed using the following command:
docker run -it -p 8888:8888 -p 54321:54321 <<IMAGE ID>>
Running a Docker image

Here, the option -i is for interactive mode and -t is to allocate --tty. The option -p is used to forward the port. As we will be running Jupyter on port 8888 and H2O on 54321, we have forwarded both ports to accessible from the local browser.

主站蜘蛛池模板: 上杭县| 台山市| 犍为县| 如东县| 青阳县| 化德县| 和硕县| 南岸区| 江西省| 竹北市| 广州市| 桃园县| 农安县| 潼南县| 西青区| 巩义市| 吴堡县| 蒙阴县| 迁西县| 安平县| 镇巴县| 庆元县| 中牟县| 华安县| 合江县| 墨竹工卡县| 岱山县| 齐河县| 杭锦后旗| 桓台县| 泌阳县| 濉溪县| 清河县| 平陆县| 友谊县| 湟中县| 天全县| 桓台县| 房产| 保山市| 弋阳县|