-
-
Save fsteinel/54fb48bbbe2e269adeb3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Instructions for trying ext4+overlay with docker! In an up-to-date SDK: | |
Write the following to /build/amd64-usr/etc/portage/package.keywords/overlay | |
sys-kernel/coreos-sources | |
sys-kernel/coreos-kernel | |
sys-fs/btrfs-progs | |
app-emulation/docker | |
In src/scripts make the following change to switch to ext4: | |
--- a/build_library/disk_layout.json | |
+++ b/build_library/disk_layout.json | |
@@ -66,8 +66,7 @@ | |
"label":"ROOT", | |
"type":"coreos-resize", | |
"blocks":"4427776", | |
- "fs_type":"btrfs", | |
- "fs_subvolume":"root", | |
+ "fs_type":"ext4", | |
"mount":"/" | |
} | |
}, | |
Build packages/images/etc. Boot a vm and write the following to | |
/etc/systemd/system/docker.service.d/overlay.conf | |
[Service] | |
Environment=DOCKER_DRIVER=overlay | |
Now systemctl daemon-reload, restart docker and do that docker thang |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment