Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
| deeplearning:docker [2019/01/25 14:48] – admin | deeplearning:docker [2019/02/05 12:48] (Version actuelle) – [Terminologies] admin | ||
|---|---|---|---|
| Ligne 6: | Ligne 6: | ||
| In this tutorial we will learn how to use docker with GPU by running a simple Tesnforflow program. | In this tutorial we will learn how to use docker with GPU by running a simple Tesnforflow program. | ||
| </ | </ | ||
| + | |||
| + | ===== Terminologies ===== | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| We will the latest TF GPU images. | We will the latest TF GPU images. | ||
| Ligne 64: | Ligne 70: | ||
| * '' | * '' | ||
| + | Now, we can run directly our '' | ||
| + | |||
| + | <code bash> | ||
| + | $ nvidia-docker run -it --rm -v app:/app tensorflow/ | ||
| + | </ | ||
| + | |||
| + | By default this image run jupyter notebook if no program is given. **BUT** we need to expose the used port '' | ||
| + | <code bash> | ||
| + | nvidia-docker run -it --rm -v app:/app -p8888:8888 tensorflow/ | ||
| + | [I 14: | ||
| + | [I 14: | ||
| + | [I 14: | ||
| + | [I 14: | ||
| + | [I 14: | ||
| + | [C 14: | ||
| + | | ||
| + | Copy/paste this URL into your browser when you connect for the first time, | ||
| + | to login with a token: | ||
| + | http:// | ||
| + | |||
| + | |||
| + | </ | ||
| + | |||
| + | Replace '' | ||
| + | |||
| + | |||
| + | {{ : | ||
| + | |||
| + | One can the open and run notebook files. For more information about how to use Jupyter notebook please visit this page: | ||