Skip to Content
Docker in Practice, Second Edition
book

Docker in Practice, Second Edition

by Ian Miell, Aidan Sayers
April 2019
Intermediate to advanced
384 pages
17h 6m
English
Manning Publications
Content preview from Docker in Practice, Second Edition

Configuring Docker

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 Red Hat Enterprise License, there’s a file called /etc/sysconfig/docker/docker-storage, which by convention contains configuration relating to storage options for the Docker daemon.

If your distribution doesn’t have any files that match the names in table B.1, it’s worth checking for an /etc/docker folder, as there ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Docker in Action, Second Edition

Docker in Action, Second Edition

Stephen Kuenzli, Jeffrey Nickoloff
Docker: Up & Running, 2nd Edition

Docker: Up & Running, 2nd Edition

Sean P. Kane, Karl Matthias

Publisher Resources

ISBN: 9781617294808Supplemental ContentPublisher SupportOtherPublisher WebsitePurchase Link