fix hub username
This commit is contained in:
parent
182e8b9a94
commit
9d86724a1d
@ -4,12 +4,12 @@ This is a very experimental tool, **it may be working**. Any suggestion or PR is
|
|||||||
|
|
||||||
# How to use it?
|
# How to use it?
|
||||||
## Install docker
|
## Install docker
|
||||||
CF the interweb TODO
|
https://docs.docker.com/get-docker/
|
||||||
|
|
||||||
## Run it
|
## Run it
|
||||||
While in this file directory, open a terminal and run:
|
While in this file directory, open a terminal and run:
|
||||||
```
|
```
|
||||||
docker run -it --name pythonsandbox --rm --network host -v "$(pwd)"/production_eleves:/app/python_app/modules -v "$(pwd)"/config:/app/config adrianamaglio/pythonsandbox
|
docker run -it --name pythonsandbox --rm --network host -v "$(pwd)"/production_eleves:/app/python_app/modules -v "$(pwd)"/config:/app/config jeancloud/pythonsandbox
|
||||||
```
|
```
|
||||||
(Logs will flow in your terminal, CTRL+C will stop the process).
|
(Logs will flow in your terminal, CTRL+C will stop the process).
|
||||||
|
|
||||||
@ -38,12 +38,9 @@ Also, as this is poorly tested, the docker system make sure the environment is s
|
|||||||
|
|
||||||
## Build the docker image
|
## Build the docker image
|
||||||
```
|
```
|
||||||
docker build . -t adrianamaglio/pythonsandbox
|
docker build . -t jeancloud/pythonsandbox
|
||||||
```
|
```
|
||||||
or pull it
|
or pull it
|
||||||
```
|
|
||||||
TODO: send image to hub
|
|
||||||
```
|
|
||||||
|
|
||||||
## Volumes
|
## Volumes
|
||||||
- `/app/modules` is where python scripts will be executed on some URL calls.
|
- `/app/modules` is where python scripts will be executed on some URL calls.
|
||||||
|
Loading…
Reference in New Issue
Block a user