This package has been deprecated

Author message:

renamed mns-core-docker

fear-core-docker

1.0.0 • Public • Published

This repo contains the docker api library.

You can use this to execute Docker, Docker Machine and VNC commands

Installation

To use the library, please install the module first:

$ npm install --save-dev git+ssh://git@github.com:DigitalInnovation/fear-core-docker.git

PLEASE NOTE the above command requires npm version 2.7.1 or above, see this issue.

Usage

var coreDocker = require('fear-core-docker').docker;
var dockerMachine = require('fear-core-docker').machine;
var dockerVnc = require('fear-core-docker').vnc;
 
dockerMachine.create('my-machine-name')
    .then(function() {
        return dockerMachine.start('my-machine-name');
    });
 
var docker = new coreDocker('my-machine-name');
 
docker.ready()
    .then(function() {
        return docker.pull('my-container-image');
    })
 
 
dockerVNC.open({host: global.dockerMachineIP['my-ip-identifier']});

Readme

Keywords

none

Package Sidebar

Install

npm i fear-core-docker

Weekly Downloads

1

Version

1.0.0

License

ISC

Last publish

Collaborators

  • fear-core