mirror of
				https://github.com/linuxkit/linuxkit.git
				synced 2025-11-04 03:41:56 +00:00 
			
		
		
		
	This includes https://github.com/containerd/containerd/pull/994 and hence requires updating the various instances of `/etc/containerd/config.toml`. Signed-off-by: Ian Campbell <ian.campbell@docker.com>
		
			
				
	
	
		
			33 lines
		
	
	
		
			917 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			917 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
# Minimal YAML to run a redis server (used at DockerCon'17)
 | 
						|
# connect: nc localhost 6379
 | 
						|
kernel:
 | 
						|
  image: "linuxkit/kernel:4.9.x"
 | 
						|
  cmdline: "console=ttyS0 console=tty0 page_poison=1"
 | 
						|
init:
 | 
						|
  - linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
 | 
						|
  - linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
 | 
						|
  - linuxkit/containerd:04880f344709830aa4c938baa765764e644fc973
 | 
						|
onboot:
 | 
						|
  - name: dhcpcd
 | 
						|
    image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
 | 
						|
    command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
 | 
						|
services:
 | 
						|
  - name: getty
 | 
						|
    image: "linuxkit/getty:d0765e0a14733f9454010ac109a7c846a4e67fc5"
 | 
						|
    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
 |