Using Overlay file system with Docker on systemd Ubuntu (14.10+)
24Dec15
Back in March I wrote about Using Overlay file system with Docker on Ubuntu – those instructions applied to Ubuntu before the switch to systemd e.g. 14.04 and earlier.
The move to systemd means that changes to /etc/default/docker don’t have any effect any more.
To get systemd to dance along to our tune needs a file like this:
/etc/systemd/system/docker.service.d/overlay.conf
[Service] ExecStart= ExecStart=/usr/bin/docker daemon -H fd:// --storage-driver=overlay
To make this work use the following script (or get it from gist to avoid silly copy/past replacement of < with <):
sudo mkdir /etc/systemd/system/docker.service.d sudo bash -c 'cat <<EOF > /etc/systemd/system/docker.service.d/overlay.conf [Service] ExecStart= ExecStart=/usr/bin/docker daemon -H fd:// --storage-driver=overlay EOF' sudo systemctl daemon-reload sudo systemctl restart docker
Now when you run ‘sudo docker info’ you should see something like:
... Storage Driver: overlay Backing Filesystem: extfs ...
At least you didn’t need to upgrade the kernel this time – small mercies.
NB this is somewhat (inaccurately right now) documented in Control and configure Docker with systemd – I can feel a PR coming on.
Related
Filed under: Docker, howto | 1 Comment
Tags: Docker, file system, overlay, systemd, Ubuntu
Subscribe
Search
Top Posts
- GL.iNet MT-6000 Flint2 Review
- E*TRADE Backup Withholding Tax
- Fixing flow on Aqualisa Midas Plus shower mixer
- SOCKS Proxy SSH Tunnels on OpenWRT
- USB C Charger Reviews
- ValidScript - a modest proposal for app security
- Multiple single pages in Hugo
- Directories 2.0 - entitlements services
- Monitising the freetards pt.1
- 3 MiFi mini review redux
-
Recent Posts
Recent Comments
Chris Swan on Milo cancer diary part 20… Chris Swan on Milo cancer diary part 20… Chris Swan on USB C Charger Reviews Peter on USB C Charger Reviews “Yes, ma’am” – being… on July 2025
Pinboard.in bookmarks- Keeping Up with the Commodore: A Hands-On Review of the Commodore 64 Ultimate
- Design Thinking! Comic: Mickey Mouse demands outrage.
- Replace Your GitHub Actions YAML with CUE
- Why Agentic AI Can't Be Secured: The Pattern Matching Problem
- LLMs and the semantic revolution
- Social media companies to be held liable for financial scams under new EU rules
- Stop Hacklore!
- Dex Hunter-Torricke: What comes next - Navigating the Kaleidoscopic futures of AI and Security
- AI Underpants Gnomes: The Missing Step in Your Strategy
- Networking Is the Hydra of Kubernetes
Blogroll
- 451 CAOS Theory
- Adam Bosworth’s Weblog
- Andrew McAfee
- Behavioural Investing
- CapitalSCF
- Carpe Visum
- causticTech
- Charles Stross
- confused of calcutta
- Cory Doctorow
- Craig Murray
- Dan Creswell’s Weblog
- Dark Reading
- Dilbert Blog
- DJW
- Doc Searls
- Don Box’s Spoutlet
- Dopplr
- Eben Moglen
- Enhyper
- Financial Cryptography
- Fred Destin
- Freedom to Tinker
- Graham Glass, etc.
- Greg Matter
- Hugh Grant
- Internet Alchemy
- Invisible Things
- James Strachan’s Weblog
- John Merrells
- Jon Udel
- Justice League
- Kim Cameron
- Lambda the Ultimate – Programming Languages Weblog
- Light Blue Touchpaper
- Loosely Coupled weblog
- Luke Hutteman’s Weblog
- Marc Andreeson
- Nick Selby
- ongoing
- Otaku, Cedric’s weblog
- Park Paradigm
- Paul Graham
- Phil Becker
- Pi4Tech
- PJKtech
- Radovan Janecek: Nothing Impersonal
- rants
- Richard Monson-Haefel
- SAAS
- Schneier on Security
- Service Oriented Enterprise
- Simon Phipps’s Blog
- techno.blog(“Dion”)
- The BileBlog
- THE GRID BLOG
- Tim Oren’s Due Diligence
- timbl’s blog
- virtualization.info
- WebMink
- WebServices.org
- XKCD
Categories
One Response to “Using Overlay file system with Docker on systemd Ubuntu (14.10+)”