concept information in category docker

This is an excerpt from Manning's book Bootstrapping Microservices with Docker, Kubernetes and Terraform.
Microservices should be loosely coupled and have high cohesion. Loose coupling means that the connections between services should be minimal and that they shouldn’t share information unless necessary. When we reduce the connections and dependencies between microservices we make it easier to upgrade individual services without having problems propagate through the application. Loose coupling helps us pull apart and rewire our application into new configurations, this makes our application more flexible and responsive to the changing needs of the business.
Listing 4.1 is a Docker Compose file that creates a single container: our video streaming microservice. Note the build section. The fields here set the sub-directory that contains the microservice’s project and the name of its Dockerfile. This is how Docker Compose finds the information to build the video-streaming image. Note that Dockerfile is the default name of this, so we could have omitted this, but I’ve specified this explicitly because in the next chapter we’ll separate our Dockerfiles to have separate versions for use in development and production.

This is an excerpt from Manning's book Docker in Practice, Second Edition.
A to-do app is one that helps you keep track of things you want to get done. The app we build will store and display short strings of information that can be marked as done, presented in a simple web interface. Figure 1.6 shows what we’ll achieve by doing this.
This chapter and the next will navigate this orchestration ecosystem. In this chapter we’ll introduce tools that give you more fine-grained control and may feel like less of a jump coming from managing containers manually. We’ll look at managing Docker containers on a single host and across multiple hosts, and then at saving and retrieving information about where containers have been deployed. Then, in the next chapter, we’ll look at more complete solutions that abstract away a lot of the detail.
There are two pieces of functionality that are typically desirable when it comes to service discovery: a generic key/value store and a way of retrieving service endpoints via some convenient interface (likely DNS). etcd and Zookeeper are examples of the former, whereas SkyDNS (a tool we won’t go into) is an example of the latter. In fact, SkyDNS uses etcd to store the information it needs.