8

Increasing Productivity with Docker Tips and Tricks

This chapter introduces miscellaneous tips, tricks, and concepts that are useful when containerizing complex distributed applications or when using Docker to automate sophisticated tasks. You will also learn how to leverage containers to run your whole development environment in them. Here is the list of topics we are going to discuss:

  • Keeping your Docker environment clean
  • Using a .dockerignore file
  • Executing simple admin tasks in a container
  • Limiting the resource usage of a container
  • Avoiding running a container as root
  • Running Docker from within Docker
  • Optimizing your build process
  • Scanning for vulnerabilities and secrets
  • Running your development environment in a container

After reading ...

Get The Ultimate Docker Container Book - Third Edition 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.