Docker for Production Validation

For production validation, developers are building a container with the fully optimized code, and disabling development-only features. Instead of volume mounting the source code, production images more typically include Dockerfile instructions to copy any source code directly into the image. This helps developers test that the same exact image they built in development will work exactly the same way in staging and production.

Get Microservices with Docker on Microsoft Azure™ (includes Content Update Program) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.