An open API service indexing awesome lists of open source software.

https://github.com/zabir-nabil/remote-docker-spawn

Remotely spawning docker containers using REST API
https://github.com/zabir-nabil/remote-docker-spawn

docker docker-container docker-python docker-rest-api pentesting remote-docker-engine rest-api sql-injection-attacks

Last synced: 16 days ago
JSON representation

Remotely spawning docker containers using REST API

Awesome Lists containing this project

README

          

# remote-docker-spawn
Remotely spawning docker containers using REST API

### Installation

* `sudo apt update`

* `sudo apt install -y docker.io`

* `sudo apt install -y python3-dev python3-pip`

* `pip install -r requirements.txt`

### Documentation

1. Edit the `server_config.py` file with username, password, list of open ports, docker image ids, path to dockerfiles, etc.

2. Run the server, `python3 docker_spawner.py` (tmux)

3. Make a request.

4. To add new Dockerfiles, add them inside project directory, add the paths to `server_config`, assign an `image_id`.

5. For client IPs, check out `ip_logger.txt`


remote-docker-spawn

### Postman


remote-docker-spawn

### Support

- [x] Dockerfile

- [x] Client IP logging

- [x] Port assignment

- [ ] docker-compose

- [ ] DooD