mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 17:26:28 +00:00
examples: Update to use new mount and format images
Signed-off-by: Dave Tucker <dt@docker.com>
This commit is contained in:
parent
54c23849cf
commit
7434ed10e7
@ -19,10 +19,10 @@ onboot:
|
|||||||
image: linuxkit/binfmt:0bde4ebd422099f45c5ee03217413523ad2223e5
|
image: linuxkit/binfmt:0bde4ebd422099f45c5ee03217413523ad2223e5
|
||||||
# Format and mount the disk image in /var/lib/docker
|
# Format and mount the disk image in /var/lib/docker
|
||||||
- name: format
|
- name: format
|
||||||
image: linuxkit/format:84a997e69051a1bf05b7c1926ab785bb07932954
|
image: linuxkit/format:efafddf9bc6165b5efaf09c532c15a1100a10e61
|
||||||
- name: mount
|
- name: mount
|
||||||
image: linuxkit/mount:ac8939c4102f97c084d9ddfd445c1908fce6d768
|
image: linuxkit/mount:54990a6a69cb3ead4da8a9c1f0b651e27aea8d3f
|
||||||
command: ["/mount.sh", "/var/lib"]
|
command: ["/usr/bin/mountie", "/var/lib"]
|
||||||
# create docker dir on mounted drive if it doesn't exist
|
# create docker dir on mounted drive if it doesn't exist
|
||||||
- name: mkdir-docker
|
- name: mkdir-docker
|
||||||
image: alpine:3.6
|
image: alpine:3.6
|
||||||
|
@ -14,10 +14,10 @@ onboot:
|
|||||||
- name: binfmt
|
- name: binfmt
|
||||||
image: linuxkit/binfmt:0bde4ebd422099f45c5ee03217413523ad2223e5
|
image: linuxkit/binfmt:0bde4ebd422099f45c5ee03217413523ad2223e5
|
||||||
- name: format
|
- name: format
|
||||||
image: linuxkit/format:84a997e69051a1bf05b7c1926ab785bb07932954
|
image: linuxkit/format:efafddf9bc6165b5efaf09c532c15a1100a10e61
|
||||||
- name: mount
|
- name: mount
|
||||||
image: linuxkit/mount:ac8939c4102f97c084d9ddfd445c1908fce6d768
|
image: linuxkit/mount:54990a6a69cb3ead4da8a9c1f0b651e27aea8d3f
|
||||||
command: ["/mount.sh", "/var/lib/docker"]
|
command: ["/usr/bin/mountie", "/var/lib/docker"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:894eef1e5f62f3bc31de8ffaff2b6c0e093c4595
|
image: linuxkit/getty:894eef1e5f62f3bc31de8ffaff2b6c0e093c4595
|
||||||
|
@ -13,10 +13,10 @@ onboot:
|
|||||||
image: linuxkit/dhcpcd:17423c1ccced74e3c005fd80486e8177841fe02b
|
image: linuxkit/dhcpcd:17423c1ccced74e3c005fd80486e8177841fe02b
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
- name: format
|
- name: format
|
||||||
image: linuxkit/format:84a997e69051a1bf05b7c1926ab785bb07932954
|
image: linuxkit/format:efafddf9bc6165b5efaf09c532c15a1100a10e61
|
||||||
- name: mount
|
- name: mount
|
||||||
image: linuxkit/mount:ac8939c4102f97c084d9ddfd445c1908fce6d768
|
image: linuxkit/mount:54990a6a69cb3ead4da8a9c1f0b651e27aea8d3f
|
||||||
command: ["/mount.sh", "/var/external"]
|
command: ["/usr/bin/mountie", "/var/external"]
|
||||||
- name: swap
|
- name: swap
|
||||||
image: linuxkit/swap:b6d447b55da3c28bdd8a3f4e30fb42c1fa0157bb
|
image: linuxkit/swap:b6d447b55da3c28bdd8a3f4e30fb42c1fa0157bb
|
||||||
# to use unencrypted swap, use:
|
# to use unencrypted swap, use:
|
||||||
|
@ -17,10 +17,10 @@ onboot:
|
|||||||
- name: binfmt
|
- name: binfmt
|
||||||
image: linuxkit/binfmt:0bde4ebd422099f45c5ee03217413523ad2223e5
|
image: linuxkit/binfmt:0bde4ebd422099f45c5ee03217413523ad2223e5
|
||||||
- name: format
|
- name: format
|
||||||
image: linuxkit/format:84a997e69051a1bf05b7c1926ab785bb07932954
|
image: linuxkit/format:efafddf9bc6165b5efaf09c532c15a1100a10e61
|
||||||
- name: mount
|
- name: mount
|
||||||
image: linuxkit/mount:ac8939c4102f97c084d9ddfd445c1908fce6d768
|
image: linuxkit/mount:54990a6a69cb3ead4da8a9c1f0b651e27aea8d3f
|
||||||
command: ["/mount.sh", "/var/lib/docker"]
|
command: ["/usr/bin/mountie", "/var/lib/docker"]
|
||||||
services:
|
services:
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:1516d5d70683a5d925fe475eb1b6164a2f67ac3b
|
image: linuxkit/rngd:1516d5d70683a5d925fe475eb1b6164a2f67ac3b
|
||||||
|
@ -17,10 +17,10 @@ onboot:
|
|||||||
- name: binfmt
|
- name: binfmt
|
||||||
image: linuxkit/binfmt:0bde4ebd422099f45c5ee03217413523ad2223e5
|
image: linuxkit/binfmt:0bde4ebd422099f45c5ee03217413523ad2223e5
|
||||||
- name: format
|
- name: format
|
||||||
image: linuxkit/format:84a997e69051a1bf05b7c1926ab785bb07932954
|
image: linuxkit/format:efafddf9bc6165b5efaf09c532c15a1100a10e61
|
||||||
- name: mount
|
- name: mount
|
||||||
image: linuxkit/mount:ac8939c4102f97c084d9ddfd445c1908fce6d768
|
image: linuxkit/mount:54990a6a69cb3ead4da8a9c1f0b651e27aea8d3f
|
||||||
command: ["/mount.sh", "/var/lib/docker"]
|
command: ["/usr/bin/mountie", "/var/lib/docker"]
|
||||||
services:
|
services:
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:1516d5d70683a5d925fe475eb1b6164a2f67ac3b
|
image: linuxkit/rngd:1516d5d70683a5d925fe475eb1b6164a2f67ac3b
|
||||||
|
@ -10,10 +10,10 @@ onboot:
|
|||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:d1a43c7c91e92374766f962dc8534cf9508756b0
|
image: linuxkit/sysctl:d1a43c7c91e92374766f962dc8534cf9508756b0
|
||||||
- name: format
|
- name: format
|
||||||
image: linuxkit/format:84a997e69051a1bf05b7c1926ab785bb07932954
|
image: linuxkit/format:efafddf9bc6165b5efaf09c532c15a1100a10e61
|
||||||
- name: mount
|
- name: mount
|
||||||
image: linuxkit/mount:ac8939c4102f97c084d9ddfd445c1908fce6d768
|
image: linuxkit/mount:54990a6a69cb3ead4da8a9c1f0b651e27aea8d3f
|
||||||
command: ["/mount.sh", "/var/lib/etcd"]
|
command: ["/usr/bin/mountie", "/var/lib/etcd"]
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:17423c1ccced74e3c005fd80486e8177841fe02b
|
image: linuxkit/dhcpcd:17423c1ccced74e3c005fd80486e8177841fe02b
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
|
@ -16,10 +16,10 @@ onboot:
|
|||||||
- name: metadata
|
- name: metadata
|
||||||
image: linuxkit/metadata:f5d4299909b159db35f72547e4ae70bd76c42c6c
|
image: linuxkit/metadata:f5d4299909b159db35f72547e4ae70bd76c42c6c
|
||||||
- name: format
|
- name: format
|
||||||
image: linuxkit/format:84a997e69051a1bf05b7c1926ab785bb07932954
|
image: linuxkit/format:efafddf9bc6165b5efaf09c532c15a1100a10e61
|
||||||
- name: mounts
|
- name: mounts
|
||||||
image: linuxkit/mount:ac8939c4102f97c084d9ddfd445c1908fce6d768
|
image: linuxkit/mount:54990a6a69cb3ead4da8a9c1f0b651e27aea8d3f
|
||||||
command: ["/mount.sh", "/var/lib/"]
|
command: ["/usr/bin/mountie", "/var/lib/"]
|
||||||
- name: var
|
- name: var
|
||||||
image: library/alpine:3.6
|
image: library/alpine:3.6
|
||||||
command: ["mkdir", "/var/lib/kubeadm"]
|
command: ["mkdir", "/var/lib/kubeadm"]
|
||||||
|
@ -16,10 +16,10 @@ onboot:
|
|||||||
- name: metadata
|
- name: metadata
|
||||||
image: linuxkit/metadata:f5d4299909b159db35f72547e4ae70bd76c42c6c
|
image: linuxkit/metadata:f5d4299909b159db35f72547e4ae70bd76c42c6c
|
||||||
- name: format
|
- name: format
|
||||||
image: linuxkit/format:84a997e69051a1bf05b7c1926ab785bb07932954
|
image: linuxkit/format:efafddf9bc6165b5efaf09c532c15a1100a10e61
|
||||||
- name: mounts
|
- name: mounts
|
||||||
image: linuxkit/mount:ac8939c4102f97c084d9ddfd445c1908fce6d768
|
image: linuxkit/mount:54990a6a69cb3ead4da8a9c1f0b651e27aea8d3f
|
||||||
command: ["/mount.sh", "/var/lib/"]
|
command: ["/usr/bin/mountie", "/var/lib/"]
|
||||||
- name: var
|
- name: var
|
||||||
image: library/alpine:3.6
|
image: library/alpine:3.6
|
||||||
command: ["mkdir", "/var/lib/kubeadm"]
|
command: ["mkdir", "/var/lib/kubeadm"]
|
||||||
|
@ -15,10 +15,10 @@ onboot:
|
|||||||
image: linuxkit/dhcpcd:17423c1ccced74e3c005fd80486e8177841fe02b
|
image: linuxkit/dhcpcd:17423c1ccced74e3c005fd80486e8177841fe02b
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
- name: format
|
- name: format
|
||||||
image: linuxkit/format:84a997e69051a1bf05b7c1926ab785bb07932954
|
image: linuxkit/format:efafddf9bc6165b5efaf09c532c15a1100a10e61
|
||||||
- name: mount
|
- name: mount
|
||||||
image: linuxkit/mount:ac8939c4102f97c084d9ddfd445c1908fce6d768
|
image: linuxkit/mount:54990a6a69cb3ead4da8a9c1f0b651e27aea8d3f
|
||||||
command: ["/mount.sh", "/var/lib/swarmd"]
|
command: ["/usr/bin/mountie", "/var/lib/swarmd"]
|
||||||
- name: metadata
|
- name: metadata
|
||||||
image: linuxkit/metadata:f5d4299909b159db35f72547e4ae70bd76c42c6c
|
image: linuxkit/metadata:f5d4299909b159db35f72547e4ae70bd76c42c6c
|
||||||
services:
|
services:
|
||||||
|
@ -14,10 +14,10 @@ onboot:
|
|||||||
- name: binfmt
|
- name: binfmt
|
||||||
image: linuxkit/binfmt:0bde4ebd422099f45c5ee03217413523ad2223e5
|
image: linuxkit/binfmt:0bde4ebd422099f45c5ee03217413523ad2223e5
|
||||||
- name: format
|
- name: format
|
||||||
image: linuxkit/format:84a997e69051a1bf05b7c1926ab785bb07932954
|
image: linuxkit/format:efafddf9bc6165b5efaf09c532c15a1100a10e61
|
||||||
- name: mount
|
- name: mount
|
||||||
image: linuxkit/mount:ac8939c4102f97c084d9ddfd445c1908fce6d768
|
image: linuxkit/mount:54990a6a69cb3ead4da8a9c1f0b651e27aea8d3f
|
||||||
command: ["/mount.sh", "/var/lib/docker"]
|
command: ["/usr/bin/mountie", "/var/lib/docker"]
|
||||||
services:
|
services:
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:1516d5d70683a5d925fe475eb1b6164a2f67ac3b
|
image: linuxkit/rngd:1516d5d70683a5d925fe475eb1b6164a2f67ac3b
|
||||||
|
Loading…
Reference in New Issue
Block a user