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

  • R Deep Learning Cookbook
  • Dr. PKS Prakash Achyutuni Sri Krishna Rao
  • 140字
  • 2021-07-02 20:49:09

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.

主站蜘蛛池模板: 星子县| 宣威市| 盖州市| 邛崃市| 新昌县| 文山县| 通辽市| 长岭县| 清丰县| 揭阳市| 原平市| 河南省| 西峡县| 石门县| 余庆县| 广东省| 冷水江市| 师宗县| 牡丹江市| 察隅县| 衡南县| 丹阳市| 凤台县| 大同市| 富宁县| 泽州县| 铁力市| 富源县| 庆城县| 于田县| 工布江达县| 浦县| 兖州市| 台州市| 镇巴县| 阿鲁科尔沁旗| 承德县| 宜城市| 钦州市| 高唐县| 蓬莱市|