mirror of
				https://github.com/linuxkit/linuxkit.git
				synced 2025-10-31 11:00:04 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			56 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			56 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| kernel:
 | |
|   image: linuxkit/kernel:4.14.57
 | |
|   cmdline: "console=ttyS0 page_poison=1"
 | |
| init:
 | |
|   - linuxkit/init:598439400c1e4bf8c25c63c98b2d3e83b1382be9
 | |
|   - linuxkit/runc:v0.5
 | |
|   - linuxkit/containerd:0784cc754edb296b996c3510abbdf69686ef0f24
 | |
|   - linuxkit/ca-certificates:v0.5
 | |
| onboot:
 | |
|   - name: sysctl
 | |
|     image: linuxkit/sysctl:v0.5
 | |
|   - name: sysfs
 | |
|     image: linuxkit/sysfs:v0.5
 | |
|   - name: dhcpcd
 | |
|     image: linuxkit/dhcpcd:v0.5
 | |
|     command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
 | |
|   - name: format
 | |
|     image: linuxkit/format:v0.5
 | |
|   - name: mount
 | |
|     image: linuxkit/mount:v0.5
 | |
|     command: ["/usr/bin/mountie", "/var/lib/docker"]
 | |
| services:
 | |
|   - name: rngd
 | |
|     image: linuxkit/rngd:v0.5
 | |
|   - name: ntpd
 | |
|     image: linuxkit/openntpd:v0.5
 | |
|   - name: docker
 | |
|     image: docker:17.07.0-ce-dind
 | |
|     capabilities:
 | |
|      - all
 | |
|     mounts:
 | |
|      - type: cgroup
 | |
|        options: ["rw","nosuid","noexec","nodev","relatime"]
 | |
|     binds:
 | |
|      - /etc/resolv.conf:/etc/resolv.conf
 | |
|      - /var/lib/docker:/var/lib/docker
 | |
|      - /lib/modules:/lib/modules
 | |
|      - /var/run:/var/run
 | |
|      - /etc/html:/var/html
 | |
|     command: ["/usr/local/bin/docker-init", "/usr/local/bin/dockerd"]
 | |
|   - name: compose
 | |
|     image: linuxkitprojects/compose:0535e78608f57702745dfd56fbe78d28d237e469
 | |
|     binds:
 | |
|      - /var/run:/var/run
 | |
|      - /etc/compose:/compose
 | |
| files:
 | |
|   - path: etc/html/a/index.html
 | |
|     source: html-a.html
 | |
|   - path: etc/html/b/index.html
 | |
|     source: html-b.html
 | |
|   - path: etc/compose/docker-compose.yml
 | |
|     source: docker-compose.yml
 | |
| trust:
 | |
|   org:
 | |
|     - linuxkit
 |