From 9d86724a1d4fca8167aac9e750fc027317d601b3 Mon Sep 17 00:00:00 2001 From: Adrian Amaglio Date: Tue, 16 Feb 2021 13:47:13 +0100 Subject: [PATCH] fix hub username --- test-python-ssh/Readme.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/test-python-ssh/Readme.md b/test-python-ssh/Readme.md index d0b0708..c97c293 100644 --- a/test-python-ssh/Readme.md +++ b/test-python-ssh/Readme.md @@ -4,12 +4,12 @@ This is a very experimental tool, **it may be working**. Any suggestion or PR is # How to use it? ## Install docker -CF the interweb TODO +https://docs.docker.com/get-docker/ ## Run it 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). @@ -38,12 +38,9 @@ Also, as this is poorly tested, the docker system make sure the environment is s ## Build the docker image ``` -docker build . -t adrianamaglio/pythonsandbox +docker build . -t jeancloud/pythonsandbox ``` or pull it -``` -TODO: send image to hub -``` ## Volumes - `/app/modules` is where python scripts will be executed on some URL calls.