lib/rackit.js
function (cb) {
			o1._client.createContainer(sName, function (err, _container) {
				if (err)
					return cb(err);

				// check that a parallel operation didn't just add the same container
				container = _.find(o1.aContainers, { name : sName });

				if (!container) {
					o1.aContainers.push(_container);
					container = _container;
				}

				cb();
			});
		}
function (cb) {
			o1._client.createContainer(sName, function (err, _container) {
				if (err)
					return cb(err);

				// check that a parallel operation didn't just add the same container
				container = _.find(o1.aContainers, { name : sName });

				if (!container) {
					o1.aContainers.push(_container);
					container = _container;
				}

				cb();
			});
		}
function ( cb ) { o1 . _client . createContainer ( sName , function ( err , _container ) { if ( err ) return cb ( err ) ; // check that a parallel operation didn't just add the same container container = _ . find ( o1 . aContainers , { name : sName } ) ; if ( ! container ) { o1 . aContainers . push ( _container ) ; container = _container ; } cb ( ) ; } ) ; }
Create the container
Create the container