Docker/Pods/Deep Learning: Difference between revisions
From charlesreid1
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
For this, I used the docker image from docker hub, waleedka/modern-deep-learning. | For this, I used the docker image from docker hub, waleedka/modern-deep-learning. | ||
=Basics= | |||
==Running the Deep Learning Container== | |||
Let's start with how we get this deep learning docker container up and running. | |||
Start by installing Docker: [[Docker/Installing]] | |||
Next, this deep learning container can run a Jupyter notebook server, which runs on port 8888 by default, so we'll pass the container's port 8888 through to the host machine's port 8888: | |||
<pre> | <pre> | ||
$ docker run -it -p 8888:8888 | $ docker run -it -p 8888:8888 waleedka/modern-deep-learning | ||
</pre> | </pre> | ||
This is great, but unfortunately any changes we make or notebooks we create will disappear with our container, so we'll need to figure out data volumes. | |||
For the time being, let's start by testing out the container and making sure the software components work. | |||
Then we'll figure out a schema for data volumes, and how we get data into and out of our deep learning container. | |||
Revision as of 04:18, 25 March 2017
For this, I used the docker image from docker hub, waleedka/modern-deep-learning.
Basics
Running the Deep Learning Container
Let's start with how we get this deep learning docker container up and running.
Start by installing Docker: Docker/Installing
Next, this deep learning container can run a Jupyter notebook server, which runs on port 8888 by default, so we'll pass the container's port 8888 through to the host machine's port 8888:
$ docker run -it -p 8888:8888 waleedka/modern-deep-learning
This is great, but unfortunately any changes we make or notebooks we create will disappear with our container, so we'll need to figure out data volumes.
For the time being, let's start by testing out the container and making sure the software components work.
Then we'll figure out a schema for data volumes, and how we get data into and out of our deep learning container.
Flags
| docker notes on the virtual microservice container platform
Installing the docker platform: Docker/Installing Docker Hello World: Docker/Hello World
Creating Docker Containers: Getting docker containers from docker hub: Docker/Dockerhub Creating docker containers with dockerfiles: Docker/Dockerfiles Managing Dockerfiles using git: Docker/Dockerfiles/Git Setting up Python virtualenv in container: Docker/Virtualenv
Running docker containers: Docker/Basics Dealing with volumes in Docker images: Docker/Volumes Removing Docker images: Docker/Removing Images Rsync Docker Container: Docker/Rsync
Networking with Docker Containers:
|
| docker pods pods are groups of docker containers that travel together
Docker pods are collections of Docker containers that are intended to run in concert for various applications.
Wireless Sensor Data Acquisition Pod The wireless sensor data acquisition pod deploys containers This pod uses the following technologies: Stunnel · Rsync · Apache · MongoDB · Python · Jupyter (numerical Python stack)
Deep Learning Pod This pod utilizes the following technologies: Python · Sklearn · Jupyter (numerical Python stack) · Keras · TensorFlow
|