Manage fleets of containers across your own infrastructure. Built for CTFGuide's virtual terminal service.
- Install Docker by following the instructions here.
- Install Node.js by following the instructions here.
- Clone the repository:
- Install dependencies:
- Start the server:
- Access API documentation at: http://localhost:YOUR_PORT_HERE/docs
- POST /api/containers/create
- Create a Docker container.
- Parameters:
username
,password
,commandsToRun
,port
,root
.
- GET /containers/:containerId/status
- Check the status of a Docker container.
- DELETE /api/containers/:id
- Delete a Docker container by ID.
- GET /api/containers/:id/login
- DEPRECATED: Initiate login for a container.
- ctfguide: ShellInABox + Ubuntu 22.10 minimal with a few essential cyber related tools installed
Support for custom images is coming soon.
You'll find tools in the src/tools
folder in this repository.
- visualizer.js (alpha v.0.1)
- This spins up a web interface that allows you to visualize Docket.
node visualizer.js
to run.
There will be many more tools in the future!
- Express
- Dockerode
- Fork the repository.
- Create a new branch (
git checkout -b feature/awesome-feature
). - Make your changes.
- Commit your changes (
git commit -am 'Add some feature'
). - Push to the branch (
git push origin feature/awesome-feature
). - Create a new Pull Request.
This project is licensed under the MIT License.
© CTFGuide Corporation 2024. Authored by Pranav Ramesh 2024.