Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fear-core-docker

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fear-core-docker

FEAR core docker tasks

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

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']});

FAQs

Package last updated on 09 Feb 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc