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