mirror of
				https://github.com/linuxkit/linuxkit.git
				synced 2025-10-31 10:41:44 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			33 lines
		
	
	
		
			918 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			918 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| # Minimal YAML to run a redis server (used at DockerCon'17)
 | |
| # connect: nc localhost 6379
 | |
| kernel:
 | |
|   image: "linuxkit/kernel:4.9.34"
 | |
|   cmdline: "console=ttyS0 console=tty0 page_poison=1"
 | |
| init:
 | |
|   - linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
 | |
|   - linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
 | |
|   - linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
 | |
| onboot:
 | |
|   - name: dhcpcd
 | |
|     image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
 | |
|     command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
 | |
| services:
 | |
|   - name: getty
 | |
|     image: "linuxkit/getty:6d35e3fe138aaeaf099b5b4f31b3f12ba725cb49"
 | |
|     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
 |