mirror of
				https://github.com/linuxkit/linuxkit.git
				synced 2025-11-04 04:50:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			62 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			62 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
kernel:
 | 
						|
  image: "linuxkit/kernel:4.9.x"
 | 
						|
  cmdline: "console=ttyS0 console=tty0 page_poison=1"
 | 
						|
init:
 | 
						|
  - linuxkit/init:f71c3b30ac1ba4ef16c160c89610fa4976f9752f
 | 
						|
  - linuxkit/runc:b0fb122e10dbb7e4e45115177a61a3f8d68c19a9
 | 
						|
  - linuxkit/containerd:60e2486a74c665ba4df57e561729aec20758daed
 | 
						|
  - linuxkit/ca-certificates:5fc6ba7f91534ddbfef975404c33e44581e6ed7a
 | 
						|
onboot:
 | 
						|
  - name: sysctl
 | 
						|
    image: "linuxkit/sysctl:2cf2f9d5b4d314ba1bfc22b2fe931924af666d8c"
 | 
						|
    net: host
 | 
						|
    pid: host
 | 
						|
    ipc: host
 | 
						|
    capabilities:
 | 
						|
     - CAP_SYS_ADMIN
 | 
						|
    readonly: true
 | 
						|
  - name: binfmt
 | 
						|
    image: "linuxkit/binfmt:aebd6ed6cc29921371ca78314697881086f4577a"
 | 
						|
    binds:
 | 
						|
     - /proc/sys/fs/binfmt_misc:/binfmt_misc
 | 
						|
    readonly: true
 | 
						|
  - name: dhcpcd
 | 
						|
    image: "linuxkit/dhcpcd:8837289b78ecd80f59524883085424e115dd0b3a"
 | 
						|
    binds:
 | 
						|
     - /var:/var
 | 
						|
     - /tmp/etc:/etc
 | 
						|
    capabilities:
 | 
						|
     - CAP_NET_ADMIN
 | 
						|
     - CAP_NET_BIND_SERVICE
 | 
						|
     - CAP_NET_RAW
 | 
						|
    net: host
 | 
						|
    command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
 | 
						|
services:
 | 
						|
  - name: rngd
 | 
						|
    image: "linuxkit/rngd:c42fd499690b2cb6e4e6cb99e41dfafca1cf5b14"
 | 
						|
    capabilities:
 | 
						|
     - CAP_SYS_ADMIN
 | 
						|
    oomScoreAdj: -800
 | 
						|
    readonly: true
 | 
						|
  - name: nginx
 | 
						|
    image: "nginx:alpine"
 | 
						|
    capabilities:
 | 
						|
     - CAP_NET_BIND_SERVICE
 | 
						|
     - CAP_CHOWN
 | 
						|
     - CAP_SETUID
 | 
						|
     - CAP_SETGID
 | 
						|
     - CAP_DAC_OVERRIDE
 | 
						|
    net: host
 | 
						|
files:
 | 
						|
  - path: etc/docker/daemon.json
 | 
						|
    contents: '{"debug": true}'
 | 
						|
trust:
 | 
						|
  image:
 | 
						|
    - linuxkit/kernel
 | 
						|
    - linuxkit/binfmt
 | 
						|
    - linuxkit/rngd
 | 
						|
outputs:
 | 
						|
  - format: kernel+initrd
 | 
						|
  - format: iso-bios
 | 
						|
  - format: iso-efi
 |