O'Reilly logo

Hands-On Microservices with Node.js by Diogo Resende

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using containers

Another option is to use a container. A container is an operative system-level virtualization mechanism, where you isolate an environment inside your operative system. You still need the space for a base layout, but there are container layouts under 5 MB.

The most common and widely used container environment is Docker, which uses Linux containers and cgroups to create a secure and isolated environment to run applications. What boosted Docker actually was was the centralized repository of base layouts, called Docker images, where people could define, build, and then share these images with others, so people wouldn't have to build them themselves. There are pre-built images for all major database services and programming languages, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required