This commit is contained in:
iceBear67
2026-06-03 16:04:41 +08:00
commit ecc027a685
11 changed files with 1081 additions and 0 deletions

2
overlay/data/PLACEHOLDER Normal file
View File

@@ -0,0 +1,2 @@
# This directory is the virtiofs mount point for host-shared data.
# Do not store critical data here before the virtiofs share is mounted.

View File

@@ -0,0 +1,9 @@
{
"data-root": "/data/docker",
"log-driver": "json-file",
"log-opts": {
"max-size": "10m",
"max-file": "3"
},
"storage-driver": "overlay2"
}

5
overlay/etc/fstab Normal file
View File

@@ -0,0 +1,5 @@
# /etc/fstab: static file system information
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/root / ext4 rw,noatime 0 1
data /data virtiofs rw,noatime,_netdev 0 0

View File

@@ -0,0 +1,5 @@
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp