... | @@ -48,3 +48,20 @@ docker volume create portainer_data |
... | @@ -48,3 +48,20 @@ docker volume create portainer_data |
|
docker run -d -p 8000:8000 -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer
|
|
docker run -d -p 8000:8000 -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer
|
|
|
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
## Having `jupyterhub` active concurrently with `docker` on `romeo`
|
|
|
|
By default `jupyterhub`'s proxy uses the port 8000 which the port used by `docker`'s. See below a way to have `jupyterhub`'s proxy using a different port ( e.g. 8500 ) :
|
|
|
|
|
|
|
|
* In `jupyterhub`'s account on `romeo` ( username : jupyterhub, password: askme) edit the file `jupyterhub_config.py` in the home directory and type `c.JupyterHub.bind_url = 'http://:8500'` at line 94
|
|
|
|
|
|
|
|
* Start `jupyterhub`. In the same account type `nohup jupyterhub &` . Be careful that a `nohup.out` file logging the activity is going to grow.
|
|
|
|
|
|
|
|
* As root or from a sudo enabled account open the port 8500 once forever :
|
|
|
|
```
|
|
|
|
sudo firewall-cmd --zone=public --permanent --add-port=8500/tcp
|
|
|
|
sudo firewall-cmd --reload
|
|
|
|
```
|
|
|
|
|
|
|
|
At this point you should be able to access `jupyterhub` on `romeo` via the link [https://romeo.obspm.fr:8500](https://romeo.obspm.fr:8500)
|
|
|
|
|
|
|
|
|