index.js
JavaScript source for A Docker module for Node.js, 20 lines. Raw file
/*
This library is an abstraction layer to docker command line tool.
It is designed to allow user to create and launch docker images and containers without hassle diving deep into command line.
*/
const Docker =
{
Console_prompt_summary: 'Docker control',
Config: require('./src/Docker.Config'),
Container: require('./src/Docker.Container'),
Daemon: require('./src/Docker.Daemon'),
Data: require('./src/Docker.Data'),
Image: require('./src/Docker.Image'),
Network: require('./src/Docker.Network'),
Service: require('./src/Docker.Service'),
Testing: require('./src/Docker.Testing'),
}
module.exports = Docker