mirror of
				https://github.com/linuxkit/linuxkit.git
				synced 2025-10-31 16:58:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			34 lines
		
	
	
		
			969 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			969 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| # Minimal YAML to run a redis server (used at DockerCon'17)
 | |
| # connect: nc localhost 6379
 | |
| kernel:
 | |
|   image: linuxkit/kernel:4.14.48
 | |
|   cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
 | |
| init:
 | |
|   - linuxkit/init:a14b7ef6115e6d56fe5bf7c40517b9e190dd4dfb
 | |
|   - linuxkit/runc:v0.4
 | |
|   - linuxkit/containerd:72df922e49a363a4ad53d88cd1a8a3ae4d41086f
 | |
| onboot:
 | |
|   - name: dhcpcd
 | |
|     image: linuxkit/dhcpcd:v0.4
 | |
|     command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
 | |
| services:
 | |
|   - name: getty
 | |
|     image: linuxkit/getty:44730fd0a7c59dbacf5b48b54ba33f551bcf7ef0
 | |
|     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
 | |
| trust:
 | |
|   org:
 | |
|     - linuxkit
 | |
|     - library
 |