Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aryak007/Dockerman
A NodeJS service for firing docker operations, e.g. creating tags, deleting tags, deleting images etc.
https://github.com/aryak007/Dockerman
docker docker-image javascript nodejs
Last synced: 10 days ago
JSON representation
A NodeJS service for firing docker operations, e.g. creating tags, deleting tags, deleting images etc.
- Host: GitHub
- URL: https://github.com/aryak007/Dockerman
- Owner: aryak007
- Created: 2018-01-02T12:19:29.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-19T06:53:03.000Z (about 6 years ago)
- Last Synced: 2024-07-31T14:09:26.487Z (3 months ago)
- Topics: docker, docker-image, javascript, nodejs
- Language: JavaScript
- Size: 83 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dockerman 1.0.0
## Usage
### Run the following commands to get the stack up and running
```javascript
npm install
gulp
```
### The above will start hosting the app at http://localhost:3000 . Check the list of available APIs to know about the routes## List of available APIs
### Primary routes
1. GET /api/getImagesInfo - Returns information of images using the curl API
```curl --unix-socket /var/run/docker.sock http:/v1.24/images/json```2. DELETE /api/deleteImage/:commitId - Deletes an image using its commitId.
3. DELETE /api/deleteTag/:tagName - Deletes a tag using the tag name
4. POST /tagImage/:imageName/:tagName - Creates a new tag for an image.
## Tests
The reporter used is "mocha-jenkins-reporter" in this case to make the test results compatible with Jenkins
### Unit tests
Run the following command to run the unit tests -
```
npm run unit
```
The test results can be found at the path - tests/unit/unit.xml
```xml
```
### System tests
Run the following command to run the system tests -
```
npm run system```
The test results can be found at the path - tests/system/system.xml```xml
```