Skip to content

Commit 54b8e2e

Browse files
committed
First release
1 parent 294d2c3 commit 54b8e2e

File tree

8 files changed

+2763
-2223
lines changed

8 files changed

+2763
-2223
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lup-docker",
3-
"version": "0.1.0",
3+
"version": "1.0.0",
44
"description": "NodeJS library to interact with the Docker engine.",
55
"main": "./lib/index",
66
"types": "./lib/index.d.ts",

src/__tests__/Docker.test.ts

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
import DockerClient from '../client';
22

3-
/*
3+
44
test('getContainers', async () => {
55
const client = new DockerClient();
66
const containers = await client.getContainers();
77
//console.log(JSON.stringify(containers, null, 2));
88
});
99

10+
/*
1011
test('createContainer', async () => {
1112
const client = new DockerClient();
1213
const container = await client.createContainer('alpine', {
@@ -34,4 +35,12 @@ test('getContainerStats', async () => {
3435
await reader.cancel();
3536
}
3637
});
37-
*/
38+
*/
39+
40+
/*
41+
test('getImages', async () => {
42+
const client = new DockerClient();
43+
const images = await client.getImages();
44+
console.log(JSON.stringify(images, null, 2));
45+
});
46+
*/

0 commit comments

Comments
 (0)