Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
f772ca15ef | |||
71cfad146f | |||
43b1c13256 | |||
2c8b17f029 |
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@mojoio/docker",
|
"name": "@mojoio/docker",
|
||||||
"version": "1.0.39",
|
"version": "1.0.41",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@mojoio/docker",
|
"name": "@mojoio/docker",
|
||||||
"version": "1.0.39",
|
"version": "1.0.41",
|
||||||
"description": "easy communication with docker remote api from node, TypeScript ready",
|
"description": "easy communication with docker remote api from node, TypeScript ready",
|
||||||
"private": false,
|
"private": false,
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
@ -1 +0,0 @@
|
|||||||
import * as plugins from './dockersock.plugins';
|
|
@ -38,7 +38,6 @@ export class DockerImage {
|
|||||||
const originTag = `${creationObject.imageUrl}:${creationObject.tag}`;
|
const originTag = `${creationObject.imageUrl}:${creationObject.tag}`;
|
||||||
console.log(originTag)
|
console.log(originTag)
|
||||||
const image = await DockerImage.findImageByName(dockerHostArg, originTag);
|
const image = await DockerImage.findImageByName(dockerHostArg, originTag);
|
||||||
image.tagImage(originTag);
|
|
||||||
return image;
|
return image;
|
||||||
} else {
|
} else {
|
||||||
plugins.smartlog.defaultLogger.log('error', `Failed at the attempt of creating a new image`);
|
plugins.smartlog.defaultLogger.log('error', `Failed at the attempt of creating a new image`);
|
||||||
@ -68,7 +67,6 @@ export class DockerImage {
|
|||||||
/**
|
/**
|
||||||
* the tags for an image
|
* the tags for an image
|
||||||
*/
|
*/
|
||||||
public tags: string[];
|
|
||||||
public Containers: number;
|
public Containers: number;
|
||||||
public Created: number;
|
public Created: number;
|
||||||
public Id: string;
|
public Id: string;
|
||||||
|
Reference in New Issue
Block a user