mirror of
				https://github.com/linuxkit/linuxkit.git
				synced 2025-11-04 13:51:35 +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>
		
			
				
	
	
		
			57 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			57 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
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
 | 
						|
  - linuxkit/ca-certificates:75cf419fb58770884c3464eb687ec8dfc704169d
 | 
						|
onboot:
 | 
						|
  - name: sysctl
 | 
						|
    image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018"
 | 
						|
  - name: binfmt
 | 
						|
    image: "linuxkit/binfmt:8ac5535f57f0c6f5fe88317b9d22a7677093c765"
 | 
						|
  - 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: rngd
 | 
						|
    image: "linuxkit/rngd:1fa4de44c961bb5075647181891a3e7e7ba51c31"
 | 
						|
  - name: nginx
 | 
						|
    image: "nginx:alpine"
 | 
						|
    capabilities:
 | 
						|
     - CAP_NET_BIND_SERVICE
 | 
						|
     - CAP_CHOWN
 | 
						|
     - CAP_SETUID
 | 
						|
     - CAP_SETGID
 | 
						|
     - CAP_DAC_OVERRIDE
 | 
						|
files:
 | 
						|
  - path: etc/containerd/config.toml
 | 
						|
    contents: |
 | 
						|
      state = "/run/containerd"
 | 
						|
      root = "/var/lib/containerd"
 | 
						|
      snapshotter = "io.containerd.snapshotter.v1.overlayfs"
 | 
						|
      differ = "io.containerd.differ.v1.base-diff"
 | 
						|
      subreaper = false
 | 
						|
 | 
						|
      [grpc]
 | 
						|
      address = "/run/containerd/containerd.sock"
 | 
						|
      uid = 0
 | 
						|
      gid = 0
 | 
						|
 | 
						|
      [debug]
 | 
						|
      address = "/run/containerd/debug.sock"
 | 
						|
      level = "info"
 | 
						|
 | 
						|
      [metrics]
 | 
						|
      address = ":13337"
 | 
						|
trust:
 | 
						|
  org:
 | 
						|
    - linuxkit
 | 
						|
  image:
 | 
						|
    - nginx:alpine
 |