One of the great things about Docker is that it isn't really virtualization; as mentioned in the previous chapter, it is a great way of isolating processes rather than running an entire operating system.
This can get confusing when running tools such as
ps. To get an idea just how confusing this can get, lets launch several containers using
docker-compose and see for ourselves:
$ cd /monitoring_docker/Chapter01/02-multiple $ docker-compose up -d Creating 02multiple_web_1... $ docker-compose scale web=5 Creating 02multiple_web_2... Creating 02multiple_web_3... Creating 02multiple_web_4... Creating 02multiple_web_5... Starting 02multiple_web_2... Starting 02multiple_web_3... Starting 02multiple_web_4... Starting 02multiple_web_5... ...