shafinhasnat / lab-on-the-go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create pipe

mkfifo mypipe.pipe

Activate pipe in bg

bash activatepipe.sh

Pull lab images

docker pull shafinhasnat/sshserver
docker pull shafinhasnat/termserver

shafinhasnat/termserver repository

Launch lab application

docker-compose up -d

Api documentation

# Launch terminal in browser
[GET] /launch-terminal
> Response:
{
    "status": string,
    "url": string,
    "message": string
}

# launch ssh image
[GET] /launch-vm
> Response:
{
    "status": string,
    "command": string,
    "password": string
    "message": string
}

About


Languages

Language:Python 73.3%Language:Shell 21.6%Language:Dockerfile 5.1%