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

dockerode

Package Overview
Dependencies
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dockerode - npm Package Compare versions

Comparing version 2.2.9 to 2.2.10

29

lib/container.js

@@ -33,3 +33,4 @@ var extend = require('./util').extend,

infoArchive: {},
putArchive: {}
putArchive: {},
update: {}
};

@@ -95,2 +96,28 @@ };

/**
* Update
* @param {Object} opts Update options
* @param {Function} callback Callback
*/
Container.prototype.update = function(opts, callback) {
var args = util.processArgs(opts, callback, this.defaultOptions.update);
var optsf = {
path: '/containers/' + this.id + '/update',
method: 'POST',
statusCodes: {
200: true,
204: true,
400: 'bad parameter',
404: 'no such container',
500: 'server error'
},
options: args.opts
};
this.modem.dial(optsf, function(err, data) {
args.callback(err, data);
});
};
/**
* Top

@@ -97,0 +124,0 @@ * @param {Object} Options like 'ps_args' (optional)

2

package.json
{
"name": "dockerode",
"description": "Docker Remote API module.",
"version": "2.2.9",
"version": "2.2.10",
"author": "Pedro Dias <petermdias@gmail.com>",

@@ -6,0 +6,0 @@ "maintainers": [

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