mirror of
				https://github.com/linuxkit/linuxkit.git
				synced 2025-11-04 08:25:51 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			30 lines
		
	
	
		
			997 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			997 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
# Minimal YAML to run a redis server (used at DockerCon'17)
 | 
						|
# connect: nc localhost 6379
 | 
						|
kernel:
 | 
						|
  image: linuxkit/kernel:6.6.13
 | 
						|
  cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
 | 
						|
init:
 | 
						|
  - linuxkit/init:7135424f6836ee166d1199e88cfb95ee88efaf91
 | 
						|
  - linuxkit/runc:efcece75889aec4e2de0d95ba27ccc46438522b3
 | 
						|
  - linuxkit/containerd:ce79d5d4ab9c46f4763735c6e4ab5c51c3feb5d8
 | 
						|
onboot:
 | 
						|
  - name: dhcpcd
 | 
						|
    image: linuxkit/dhcpcd:330839488cd122db3c44738e265c035c9729a963
 | 
						|
    command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
 | 
						|
services:
 | 
						|
  - name: getty
 | 
						|
    image: linuxkit/getty:bae9e3d4861173bacf78f14a4fe44997a430d13b
 | 
						|
    env:
 | 
						|
     - INSECURE=true
 | 
						|
  # Currently redis:4.0.6-alpine has trust issue with multi-arch
 | 
						|
  # https://github.com/docker-library/official-images/issues/3794
 | 
						|
  - name: redis
 | 
						|
    image: redis:4.0.5-alpine
 | 
						|
    capabilities:
 | 
						|
     - CAP_NET_BIND_SERVICE
 | 
						|
     - CAP_CHOWN
 | 
						|
     - CAP_SETUID
 | 
						|
     - CAP_SETGID
 | 
						|
     - CAP_DAC_OVERRIDE
 | 
						|
    net: host
 |