mirror of
				https://github.com/linuxkit/linuxkit.git
				synced 2025-11-04 04:44:25 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			33 lines
		
	
	
		
			896 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			896 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
# Minimal YAML to run a redis server (used at DockerCon'17)
 | 
						|
# connect: nc localhost 6379
 | 
						|
kernel:
 | 
						|
  image: linuxkit/kernel:4.9.39
 | 
						|
  cmdline: "console=tty0 console=ttyS0"
 | 
						|
init:
 | 
						|
  - linuxkit/init:838b772355a8690143b37de1cdd4ac5db725271f
 | 
						|
  - linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
 | 
						|
  - linuxkit/containerd:ff59f34e79369a6f2ce7c2a7b1cf0fcb226b31f4
 | 
						|
onboot:
 | 
						|
  - name: dhcpcd
 | 
						|
    image: linuxkit/dhcpcd:17423c1ccced74e3c005fd80486e8177841fe02b
 | 
						|
    command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
 | 
						|
services:
 | 
						|
  - name: getty
 | 
						|
    image: linuxkit/getty:894eef1e5f62f3bc31de8ffaff2b6c0e093c4595
 | 
						|
    env:
 | 
						|
     - INSECURE=true
 | 
						|
  - name: redis
 | 
						|
    image: redis:3.0.7-alpine
 | 
						|
    capabilities:
 | 
						|
     - CAP_NET_BIND_SERVICE
 | 
						|
     - CAP_CHOWN
 | 
						|
     - CAP_SETUID
 | 
						|
     - CAP_SETGID
 | 
						|
     - CAP_DAC_OVERRIDE
 | 
						|
    net: host
 | 
						|
trust:
 | 
						|
  org:
 | 
						|
    - linuxkit
 | 
						|
  image:
 | 
						|
    - redis:3.0.7-alpine
 |