mirror of
				https://github.com/linuxkit/linuxkit.git
				synced 2025-10-31 20:19:50 +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.38
 | |
|   cmdline: "console=tty0 console=ttyS0"
 | |
| init:
 | |
|   - linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
 | |
|   - linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
 | |
|   - linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
 | |
| onboot:
 | |
|   - name: dhcpcd
 | |
|     image: linuxkit/dhcpcd:4b7b8bb024cebb1bbb9c8026d44d7cbc8e202c41
 | |
|     command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
 | |
| services:
 | |
|   - name: getty
 | |
|     image: linuxkit/getty:0a2955f3d7a10a0e71972791c3ba6400118f327e
 | |
|     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
 |