Appendix B. Docker configuration

At various points in this book you’re advised to change your Docker configuration to make changes permanent on starting up your Docker host machines. This appendix will advise you on the best practices for achieving this. The operating system distribution you use will be significant in this context.

The location of the config files for most mainstream distributions is listed in table B.1.

Table B.1. Docker configuration file locations

Distribution

Configuration

Ubuntu / Debian / Gentoo /etc/default/docker
OpenSuse / CentOS / Red Hat /etc/sysconfg/docker

Note that some distributions keep the configuration to a single file, whereas others use a directory and multiple files. For example, on ...

Get Docker in Practice 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.