Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
xicilion committed Apr 20, 2021
0 parents commit 5e1aafb
Show file tree
Hide file tree
Showing 39 changed files with 53,173 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
.vscode
23 changes: 23 additions & 0 deletions .jsdoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"tags": {
"allowUnknownTags": true,
"dictionaries": [
"jsdoc"
]
},
"source": {
"include": [
"lib",
"package.json",
"README.md"
],
"includePattern": ".js$",
"excludePattern": "(node_modules/|docs|test)"
},
"opts": {
"destination": "./docs/",
"encoding": "utf8",
"recurse": true,
"template": "node_modules/docdash/"
}
}
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules
samples
docs
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Docker client for fibjs

## Installation

```bash
fibjs --install fib-docker
```

## Example Code

```JavaScript
var Docker = require('fib-docker').Docker;

var docker = new Docker({
domain: "http://%2Fvar%2Frun%2Fdocker.sock/v1.39",
headers: {
host: "localhost"
}
});

console.log(docker.SystemInfo());
```
Loading

0 comments on commit 5e1aafb

Please sign in to comment.