|
|
|
[<img src="uploads/b78708ab8609c803fced7b5c6c86096f/00-fidle-header-03.svg">](home)
|
|
|
|
|
|
|
|
## Pre-requisites
|
|
|
|
|
|
|
|
- [Docker](https://docs.docker.com) should be pre-installed on your computer !
|
|
|
|
- Check the [download Docker page info](https://docs.docker.com/get-docker/)
|
|
|
|
- Check the [**download Docker Desktop page info**](https://docs.docker.com/get-docker/)
|
|
|
|
- Do not forget [the post-installation steps](https://docs.docker.com/engine/install/linux-postinstall/) (for Linux in particular)
|
|
|
|
- For Windows or MacOS users, it is a good idea to check [Docker Desktop](https://www.docker.com/products/docker-desktop/), but do not forget to read the **pre-requisites** !
|
|
|
|
|
|
|
|
For Windows or MacOS users, it is a good idea to check [Docker Desktop](https://www.docker.com/products/docker-desktop/), but do not forget to read the **pre-requisites** !
|
|
|
|
|
|
|
|
## Remark
|
|
|
|
|
| ... | ... | @@ -13,52 +13,56 @@ |
|
|
|
|
|
|
|
## 1 - Get the Fidle Docker image
|
|
|
|
|
|
|
|
- Get Fidle image : ...it takes some time... (\~5mn) and the image is quiet huge (\~6.48GB)
|
|
|
|
```
|
|
|
|
- Get Fidle image : ...it takes some time... (\~5mn) and the image is quiet huge (\~3 GB)
|
|
|
|
|
|
|
|
```plaintext
|
|
|
|
$ docker pull fidlehub/fidle:latest
|
|
|
|
```
|
|
|
|
- To see if your image is there:
|
|
|
|
```
|
|
|
|
|
|
|
|
```plaintext
|
|
|
|
$ docker images
|
|
|
|
On standard output, you should have a line of the form :
|
|
|
|
fidlehub/fidle latest [...] 7.7GB
|
|
|
|
|
|
|
|
fidlehub/fidle latest [...] 3 GB
|
|
|
|
```
|
|
|
|
|
|
|
|
## 2 - Create your fidle container
|
|
|
|
|
|
|
|
```
|
|
|
|
```plaintext
|
|
|
|
$ docker run -i -p 8888:8888 -p 6006:6006 --name fidle fidlehub/fidle:latest
|
|
|
|
```
|
|
|
|
Where: <br> `--name fidle` is used to give a name of your choice to your container <br>
|
|
|
|
`-i` is used to stay in interactive mode (Keep STDIN open even if not attached) <br>
|
|
|
|
`-p` Publish a container's port(s) to the host
|
|
|
|
`-p` Publish a container's port to the tensorboard
|
|
|
|
|
|
|
|
|
|
|
|
Where: \
|
|
|
|
`--name fidle` is used to give a name of your choice to your container \
|
|
|
|
`-i` is used to stay in interactive mode (Keep STDIN open even if not attached) \
|
|
|
|
`-p` Publish a container's port(s) to the host `-p` Publish a container's port to the tensorboard
|
|
|
|
|
|
|
|
## 3 - Open your jupyter lab
|
|
|
|
|
|
|
|
- Copy the URL printed on screen beginning with `http://127.0.0.1:8888/?token`...
|
|
|
|
- Open a Web Browser and paste the URL
|
|
|
|
- Jupyterlab for fidle should be there ! <br>
|
|
|
|
- Jupyterlab for fidle should be there !
|
|
|
|
|
|
|
|
## 4- Tensorbaord
|
|
|
|
If you want to use tensoboard inside jupyter lab use this command :
|
|
|
|
- %tensorboard --logdir path/to/your/logs --bind_all <br>
|
|
|
|
|
|
|
|
If you want to use tensoboard inside docker terminal use this command:
|
|
|
|
- tensorboard --logdir path/to/your/logs --bind_all
|
|
|
|
If you want to use tensoboard inside jupyter lab use this command from a terminal :
|
|
|
|
|
|
|
|
```
|
|
|
|
$ tensorboard --host 0.0.0.0 --logdir <path/to/your/logs>
|
|
|
|
```
|
|
|
|
|
|
|
|
## 5 - **To stop your jupyter, you can**
|
|
|
|
|
|
|
|
- In Jupyter lab menu : "File"/"Shutdown"
|
|
|
|
- On the Unix console/Terminal you launched Fidle Jupyterlab: <br>
|
|
|
|
- On the Unix console/Terminal you launched Fidle Jupyterlab: \
|
|
|
|
use Control-C to stop this server and shutdown all kernels
|
|
|
|
|
|
|
|
|
|
|
|
## 6 - To restart your fidle container where you leave your work
|
|
|
|
|
|
|
|
**you can Just type:**
|
|
|
|
```
|
|
|
|
$ docker start -i fidle
|
|
|
|
|
|
|
|
```plaintext
|
|
|
|
$ docker start -i fidle
|
|
|
|
```
|
|
|
|
|
|
|
|
 |
|
|
\ No newline at end of file |