Keras Deep Learning Cookbook
上QQ阅读APP看书,第一时间看更新

Installing the Docker container 

  1. Execute the following command on the Terminal to run the container. The container image is available with the tag rajdeepd/jupyter-keras:
docker run -d -p 8888:8888 rajdeepd/jupyter-keras start-notebook.sh --NotebookApp.token=''
  1. This will install the Notebook locally and start it as well. You can execute the docker ps -a command and see the output in the Terminal, as follows:
CONTAINER ID IMAGE  COMMAND CREATED  STATUS  PORTS  NAMES
45998a5eea89 rajdeepd/jupyter-keras "tini -- start-not..." About an hour ago Up About an hour 0.0.0.0:8888->8888/tcp admiring_wing

Please note that the host port of 8888 is mapped to the container port of 8888.

  1. Open the browser at the following URL http://localhost:8888:

You will notice that Jupyter is running. You can create a new Notebook and run Keras-specific code.