# Turns your docker server into a manager of the Docker Swarm
$ docker swarm init
# Turns off docker swarm
$ docker swarm leave -f
Read Documentation
Common Errors
- Notset = 0: This is the initial default setting of a log when it is created. It is not really relevant and most developers will not even take notice of this category. In many circles, it has already become nonessential. The root log is usually created with level WARNING.
- Debug = 10: This level gives detailed information, useful only when a problem is being diagnosed.
- Info = 20: This is used to confirm that everything is working as it should.
- Warning = 30: This level indicates that something unexpected has happened or some problem is about to happen in the near future.
- Error = 40: As it implies, an error has occurred. The software was unable to perform some function.
Mocha - a JavaScript test framework for Node.js programs, featuring browser support, asynchronous testing, test coverage reports, and use of any assertion library.
Chai - BDD (behavior driven development) / TDD (test driven development) assertion library for node and the browser that can be delightfully paired with any javascript testing framework.
- Makes sure you have a intialized NodeJS environment.
NewerOlder