mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 10:09:07 +00:00
Merge pull request #2258 from ijc/containerd-v1.0.0-alpha1
Containerd v1.0.0 alpha1
This commit is contained in:
commit
5545f3085a
2
Makefile
2
Makefile
@ -20,7 +20,7 @@ endif
|
|||||||
|
|
||||||
PREFIX?=/usr/local/
|
PREFIX?=/usr/local/
|
||||||
|
|
||||||
MOBY_COMMIT=a261a33812ec2ba6650dc0b16353f537ade66355
|
MOBY_COMMIT=8e720bff08cb9f20488d1ae6f114a5b1e4edf9cd
|
||||||
MOBY_VERSION=0.0
|
MOBY_VERSION=0.0
|
||||||
bin/moby: tmp_moby_bin.tar | bin
|
bin/moby: tmp_moby_bin.tar | bin
|
||||||
tar xf $<
|
tar xf $<
|
||||||
|
@ -6,7 +6,7 @@ init:
|
|||||||
- linuxkit/vpnkit-expose-port:e2b49a6c56fbf876ea24f0a5ce4ccae5f940d1be # install vpnkit-expose-port and vpnkit-iptables-wrapper on host
|
- linuxkit/vpnkit-expose-port:e2b49a6c56fbf876ea24f0a5ce4ccae5f940d1be # install vpnkit-expose-port and vpnkit-iptables-wrapper on host
|
||||||
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
||||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||||
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
- linuxkit/containerd:e33e0534d6fca88e1eb86897a1ea410b4a5d722e
|
||||||
onboot:
|
onboot:
|
||||||
# support metadata for optional config in /var/config
|
# support metadata for optional config in /var/config
|
||||||
- name: metadata
|
- name: metadata
|
||||||
@ -53,7 +53,7 @@ services:
|
|||||||
image: linuxkit/acpid:1966310cb75e28ffc668863a6577ee991327f918
|
image: linuxkit/acpid:1966310cb75e28ffc668863a6577ee991327f918
|
||||||
# Enable getty for easier debugging
|
# Enable getty for easier debugging
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:0a2955f3d7a10a0e71972791c3ba6400118f327e
|
image: linuxkit/getty:9c32352b2a7b2f233de8741396afeb26b58f9a05
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
# Run ntpd to keep time synchronised in the VM
|
# Run ntpd to keep time synchronised in the VM
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
||||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||||
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
- linuxkit/containerd:e33e0534d6fca88e1eb86897a1ea410b4a5d722e
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
@ -18,7 +18,7 @@ services:
|
|||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:1516d5d70683a5d925fe475eb1b6164a2f67ac3b
|
image: linuxkit/rngd:1516d5d70683a5d925fe475eb1b6164a2f67ac3b
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:89b2e91d7d1bf2f40220be0e3ed586e74746cceb
|
image: linuxkit/sshd:a00846032891f77f4f78b8a197e94e13a476a3ee
|
||||||
binds:
|
binds:
|
||||||
- /var/config/ssh/authorized_keys:/root/.ssh/authorized_keys
|
- /var/config/ssh/authorized_keys:/root/.ssh/authorized_keys
|
||||||
- name: nginx
|
- name: nginx
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
||||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||||
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
- linuxkit/containerd:e33e0534d6fca88e1eb86897a1ea410b4a5d722e
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
@ -15,7 +15,7 @@ services:
|
|||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:4b7b8bb024cebb1bbb9c8026d44d7cbc8e202c41
|
image: linuxkit/dhcpcd:4b7b8bb024cebb1bbb9c8026d44d7cbc8e202c41
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:89b2e91d7d1bf2f40220be0e3ed586e74746cceb
|
image: linuxkit/sshd:a00846032891f77f4f78b8a197e94e13a476a3ee
|
||||||
files:
|
files:
|
||||||
- path: root/.ssh/authorized_keys
|
- path: root/.ssh/authorized_keys
|
||||||
source: ~/.ssh/id_rsa.pub
|
source: ~/.ssh/id_rsa.pub
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
||||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||||
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
- linuxkit/containerd:e33e0534d6fca88e1eb86897a1ea410b4a5d722e
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
@ -20,7 +20,7 @@ onboot:
|
|||||||
command: ["/mount.sh", "/var/lib/docker"]
|
command: ["/mount.sh", "/var/lib/docker"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:0a2955f3d7a10a0e71972791c3ba6400118f327e
|
image: linuxkit/getty:9c32352b2a7b2f233de8741396afeb26b58f9a05
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
||||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||||
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
- linuxkit/containerd:e33e0534d6fca88e1eb86897a1ea410b4a5d722e
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
@ -16,13 +16,13 @@ onboot:
|
|||||||
image: linuxkit/metadata:428093dd1c4178e8ba1952af44b46c0fd16f8e79
|
image: linuxkit/metadata:428093dd1c4178e8ba1952af44b46c0fd16f8e79
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:0a2955f3d7a10a0e71972791c3ba6400118f327e
|
image: linuxkit/getty:9c32352b2a7b2f233de8741396afeb26b58f9a05
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:1516d5d70683a5d925fe475eb1b6164a2f67ac3b
|
image: linuxkit/rngd:1516d5d70683a5d925fe475eb1b6164a2f67ac3b
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:89b2e91d7d1bf2f40220be0e3ed586e74746cceb
|
image: linuxkit/sshd:a00846032891f77f4f78b8a197e94e13a476a3ee
|
||||||
binds:
|
binds:
|
||||||
- /var/config/ssh/authorized_keys:/root/.ssh/authorized_keys
|
- /var/config/ssh/authorized_keys:/root/.ssh/authorized_keys
|
||||||
- name: nginx
|
- name: nginx
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
||||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||||
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
- linuxkit/containerd:e33e0534d6fca88e1eb86897a1ea410b4a5d722e
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
@ -14,7 +14,7 @@ onboot:
|
|||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:0a2955f3d7a10a0e71972791c3ba6400118f327e
|
image: linuxkit/getty:9c32352b2a7b2f233de8741396afeb26b58f9a05
|
||||||
# to make insecure with passwordless root login, uncomment following lines
|
# to make insecure with passwordless root login, uncomment following lines
|
||||||
#env:
|
#env:
|
||||||
# - INSECURE=true
|
# - INSECURE=true
|
||||||
|
@ -4,14 +4,14 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
||||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||||
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
- linuxkit/containerd:e33e0534d6fca88e1eb86897a1ea410b4a5d722e
|
||||||
onboot:
|
onboot:
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:4b7b8bb024cebb1bbb9c8026d44d7cbc8e202c41
|
image: linuxkit/dhcpcd:4b7b8bb024cebb1bbb9c8026d44d7cbc8e202c41
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:0a2955f3d7a10a0e71972791c3ba6400118f327e
|
image: linuxkit/getty:9c32352b2a7b2f233de8741396afeb26b58f9a05
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
trust:
|
trust:
|
||||||
|
@ -4,10 +4,10 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
||||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||||
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
- linuxkit/containerd:e33e0534d6fca88e1eb86897a1ea410b4a5d722e
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:0a2955f3d7a10a0e71972791c3ba6400118f327e
|
image: linuxkit/getty:9c32352b2a7b2f233de8741396afeb26b58f9a05
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
||||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||||
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
- linuxkit/containerd:e33e0534d6fca88e1eb86897a1ea410b4a5d722e
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
@ -15,7 +15,7 @@ services:
|
|||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:4b7b8bb024cebb1bbb9c8026d44d7cbc8e202c41
|
image: linuxkit/dhcpcd:4b7b8bb024cebb1bbb9c8026d44d7cbc8e202c41
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:89b2e91d7d1bf2f40220be0e3ed586e74746cceb
|
image: linuxkit/sshd:a00846032891f77f4f78b8a197e94e13a476a3ee
|
||||||
files:
|
files:
|
||||||
- path: root/.ssh/authorized_keys
|
- path: root/.ssh/authorized_keys
|
||||||
source: ~/.ssh/id_rsa.pub
|
source: ~/.ssh/id_rsa.pub
|
||||||
|
@ -6,14 +6,14 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
||||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||||
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
- linuxkit/containerd:e33e0534d6fca88e1eb86897a1ea410b4a5d722e
|
||||||
onboot:
|
onboot:
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:4b7b8bb024cebb1bbb9c8026d44d7cbc8e202c41
|
image: linuxkit/dhcpcd:4b7b8bb024cebb1bbb9c8026d44d7cbc8e202c41
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:0a2955f3d7a10a0e71972791c3ba6400118f327e
|
image: linuxkit/getty:9c32352b2a7b2f233de8741396afeb26b58f9a05
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: redis
|
- name: redis
|
||||||
|
@ -4,14 +4,14 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
||||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||||
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
- linuxkit/containerd:e33e0534d6fca88e1eb86897a1ea410b4a5d722e
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:d1a43c7c91e92374766f962dc8534cf9508756b0
|
image: linuxkit/sysctl:d1a43c7c91e92374766f962dc8534cf9508756b0
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:0a2955f3d7a10a0e71972791c3ba6400118f327e
|
image: linuxkit/getty:9c32352b2a7b2f233de8741396afeb26b58f9a05
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
@ -19,7 +19,7 @@ services:
|
|||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:4b7b8bb024cebb1bbb9c8026d44d7cbc8e202c41
|
image: linuxkit/dhcpcd:4b7b8bb024cebb1bbb9c8026d44d7cbc8e202c41
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:89b2e91d7d1bf2f40220be0e3ed586e74746cceb
|
image: linuxkit/sshd:a00846032891f77f4f78b8a197e94e13a476a3ee
|
||||||
files:
|
files:
|
||||||
- path: root/.ssh/authorized_keys
|
- path: root/.ssh/authorized_keys
|
||||||
source: ~/.ssh/id_rsa.pub
|
source: ~/.ssh/id_rsa.pub
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
||||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||||
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
- linuxkit/containerd:e33e0534d6fca88e1eb86897a1ea410b4a5d722e
|
||||||
- linuxkit/ca-certificates:eabc5a6e59f05aa91529d80e9a595b85b046f935
|
- linuxkit/ca-certificates:eabc5a6e59f05aa91529d80e9a595b85b046f935
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
@ -24,7 +24,7 @@ onboot:
|
|||||||
command: ["/swap.sh", "--path", "/var/external/swap", "--size", "1G", "--encrypt"]
|
command: ["/swap.sh", "--path", "/var/external/swap", "--size", "1G", "--encrypt"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:0a2955f3d7a10a0e71972791c3ba6400118f327e
|
image: linuxkit/getty:9c32352b2a7b2f233de8741396afeb26b58f9a05
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
|
@ -4,14 +4,14 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
||||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||||
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
- linuxkit/containerd:e33e0534d6fca88e1eb86897a1ea410b4a5d722e
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:d1a43c7c91e92374766f962dc8534cf9508756b0
|
image: linuxkit/sysctl:d1a43c7c91e92374766f962dc8534cf9508756b0
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:0a2955f3d7a10a0e71972791c3ba6400118f327e
|
image: linuxkit/getty:9c32352b2a7b2f233de8741396afeb26b58f9a05
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
||||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||||
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
- linuxkit/containerd:e33e0534d6fca88e1eb86897a1ea410b4a5d722e
|
||||||
onboot:
|
onboot:
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:4b7b8bb024cebb1bbb9c8026d44d7cbc8e202c41
|
image: linuxkit/dhcpcd:4b7b8bb024cebb1bbb9c8026d44d7cbc8e202c41
|
||||||
@ -19,7 +19,7 @@ onboot:
|
|||||||
command: ["sh", "-c", "mkdir /host_var/vpnkit && mount -v -t 9p -o trans=virtio,dfltuid=1001,dfltgid=50,version=9p2000 port /host_var/vpnkit"]
|
command: ["sh", "-c", "mkdir /host_var/vpnkit && mount -v -t 9p -o trans=virtio,dfltuid=1001,dfltgid=50,version=9p2000 port /host_var/vpnkit"]
|
||||||
services:
|
services:
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:89b2e91d7d1bf2f40220be0e3ed586e74746cceb
|
image: linuxkit/sshd:a00846032891f77f4f78b8a197e94e13a476a3ee
|
||||||
- name: vpnkit-forwarder
|
- name: vpnkit-forwarder
|
||||||
image: linuxkit/vpnkit-forwarder:9c1545e7b093d1210118de7661d7346393ec195b
|
image: linuxkit/vpnkit-forwarder:9c1545e7b093d1210118de7661d7346393ec195b
|
||||||
binds:
|
binds:
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
||||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||||
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
- linuxkit/containerd:e33e0534d6fca88e1eb86897a1ea410b4a5d722e
|
||||||
onboot:
|
onboot:
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:4b7b8bb024cebb1bbb9c8026d44d7cbc8e202c41
|
image: linuxkit/dhcpcd:4b7b8bb024cebb1bbb9c8026d44d7cbc8e202c41
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
||||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||||
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
- linuxkit/containerd:e33e0534d6fca88e1eb86897a1ea410b4a5d722e
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
@ -16,13 +16,13 @@ onboot:
|
|||||||
image: linuxkit/metadata:428093dd1c4178e8ba1952af44b46c0fd16f8e79
|
image: linuxkit/metadata:428093dd1c4178e8ba1952af44b46c0fd16f8e79
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:0a2955f3d7a10a0e71972791c3ba6400118f327e
|
image: linuxkit/getty:9c32352b2a7b2f233de8741396afeb26b58f9a05
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:1516d5d70683a5d925fe475eb1b6164a2f67ac3b
|
image: linuxkit/rngd:1516d5d70683a5d925fe475eb1b6164a2f67ac3b
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:89b2e91d7d1bf2f40220be0e3ed586e74746cceb
|
image: linuxkit/sshd:a00846032891f77f4f78b8a197e94e13a476a3ee
|
||||||
binds:
|
binds:
|
||||||
- /var/config/ssh/authorized_keys:/root/.ssh/authorized_keys
|
- /var/config/ssh/authorized_keys:/root/.ssh/authorized_keys
|
||||||
- name: nginx
|
- name: nginx
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
||||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||||
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
- linuxkit/containerd:e33e0534d6fca88e1eb86897a1ea410b4a5d722e
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
@ -20,7 +20,7 @@ onshutdown:
|
|||||||
command: ["/bin/echo", "so long and thanks for all the fish"]
|
command: ["/bin/echo", "so long and thanks for all the fish"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:0a2955f3d7a10a0e71972791c3ba6400118f327e
|
image: linuxkit/getty:9c32352b2a7b2f233de8741396afeb26b58f9a05
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:6832775a7e861ee2d7842e157688ece52d007142 as alpine
|
FROM linuxkit/alpine:a39a433162a873519910a07beeb3e8db22529956 as alpine
|
||||||
RUN \
|
RUN \
|
||||||
apk add \
|
apk add \
|
||||||
btrfs-progs-dev \
|
btrfs-progs-dev \
|
||||||
@ -18,7 +18,7 @@ RUN mkdir -p $GOPATH/src/github.com/containerd && \
|
|||||||
WORKDIR $GOPATH/src/github.com/containerd/containerd
|
WORKDIR $GOPATH/src/github.com/containerd/containerd
|
||||||
RUN git checkout $CONTAINERD_COMMIT
|
RUN git checkout $CONTAINERD_COMMIT
|
||||||
RUN make binaries EXTRA_FLAGS="-buildmode pie" EXTRA_LDFLAGS="-extldflags \\\"-fno-PIC -static\\\""
|
RUN make binaries EXTRA_FLAGS="-buildmode pie" EXTRA_LDFLAGS="-extldflags \\\"-fno-PIC -static\\\""
|
||||||
RUN cp bin/containerd bin/ctr bin/containerd-shim bin/dist /usr/bin/
|
RUN cp bin/containerd bin/ctr bin/containerd-shim /usr/bin/
|
||||||
|
|
||||||
ADD cmd /go/src/cmd
|
ADD cmd /go/src/cmd
|
||||||
RUN cd /go/src/cmd/service && ./skanky-vendor.sh $GOPATH/src/github.com/containerd/containerd
|
RUN cd /go/src/cmd/service && ./skanky-vendor.sh $GOPATH/src/github.com/containerd/containerd
|
||||||
@ -30,7 +30,7 @@ COPY . .
|
|||||||
FROM scratch
|
FROM scratch
|
||||||
ENTRYPOINT []
|
ENTRYPOINT []
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
COPY --from=alpine /usr/bin/containerd /usr/bin/ctr /usr/bin/dist /usr/bin/containerd-shim /go/bin/service /usr/bin/
|
COPY --from=alpine /usr/bin/containerd /usr/bin/ctr /usr/bin/containerd-shim /go/bin/service /usr/bin/
|
||||||
COPY --from=alpine /etc/containerd/config.toml /etc/containerd/
|
COPY --from=alpine /etc/containerd/config.toml /etc/containerd/
|
||||||
COPY --from=alpine /usr/share/zoneinfo/UTC /etc/localtime
|
COPY --from=alpine /usr/share/zoneinfo/UTC /etc/localtime
|
||||||
COPY etc etc/
|
COPY etc etc/
|
||||||
|
@ -10,6 +10,7 @@ import (
|
|||||||
|
|
||||||
log "github.com/Sirupsen/logrus"
|
log "github.com/Sirupsen/logrus"
|
||||||
"github.com/containerd/containerd"
|
"github.com/containerd/containerd"
|
||||||
|
"github.com/containerd/containerd/errdefs"
|
||||||
"github.com/containerd/containerd/namespaces"
|
"github.com/containerd/containerd/namespaces"
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
)
|
)
|
||||||
@ -17,7 +18,7 @@ import (
|
|||||||
func cleanupTask(ctx context.Context, ctr containerd.Container) error {
|
func cleanupTask(ctx context.Context, ctr containerd.Container) error {
|
||||||
task, err := ctr.Task(ctx, nil)
|
task, err := ctr.Task(ctx, nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if err == containerd.ErrNoRunningTask {
|
if errdefs.IsNotFound(err) {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
return errors.Wrap(err, "getting task")
|
return errors.Wrap(err, "getting task")
|
||||||
@ -36,7 +37,7 @@ func cleanupTask(ctx context.Context, ctr containerd.Container) error {
|
|||||||
}(deleteCtx, deleteErr)
|
}(deleteCtx, deleteErr)
|
||||||
|
|
||||||
sig := syscall.SIGKILL
|
sig := syscall.SIGKILL
|
||||||
if err := task.Kill(ctx, sig); err != nil && err != containerd.ErrProcessExited {
|
if err := task.Kill(ctx, sig); err != nil && !errdefs.IsNotFound(err) {
|
||||||
return errors.Wrapf(err, "killing task with %q", sig)
|
return errors.Wrapf(err, "killing task with %q", sig)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,4 +29,4 @@ COPY --from=mirror /out/ /
|
|||||||
COPY usr/ /usr/
|
COPY usr/ /usr/
|
||||||
COPY etc/ /etc/
|
COPY etc/ /etc/
|
||||||
CMD ["/usr/bin/rungetty.sh"]
|
CMD ["/usr/bin/rungetty.sh"]
|
||||||
LABEL org.mobyproject.config='{"pid": "host", "net":"host", "binds": ["/run:/run", "/tmp:/tmp", "/etc:/hostroot/etc", "/usr/bin/ctr:/usr/bin/ctr", "/usr/bin/runc:/usr/bin/runc", "/usr/bin/dist:/usr/bin/dist", "/var:/var","/containers:/containers","/dev:/dev","/sys:/sys"], "capabilities": ["all"]}'
|
LABEL org.mobyproject.config='{"pid": "host", "net":"host", "binds": ["/run:/run", "/tmp:/tmp", "/etc:/hostroot/etc", "/usr/bin/ctr:/usr/bin/ctr", "/usr/bin/runc:/usr/bin/runc", "/var:/var","/containers:/containers","/dev:/dev","/sys:/sys"], "capabilities": ["all"]}'
|
||||||
|
@ -20,4 +20,4 @@ COPY etc/ /etc/
|
|||||||
COPY usr/ /usr/
|
COPY usr/ /usr/
|
||||||
RUN mkdir -p /etc/ssh /root/.ssh && chmod 0700 /root/.ssh
|
RUN mkdir -p /etc/ssh /root/.ssh && chmod 0700 /root/.ssh
|
||||||
CMD ["/sbin/tini", "/usr/bin/ssh.sh"]
|
CMD ["/sbin/tini", "/usr/bin/ssh.sh"]
|
||||||
LABEL org.mobyproject.config='{"pid": "host", "binds": ["/root/.ssh:/root/.ssh", "/etc/resolv.conf:/etc/resolv.conf", "/run:/run", "/tmp:/tmp", "/etc:/hostroot/etc", "/usr/bin/ctr:/usr/bin/ctr", "/usr/bin/runc:/usr/bin/runc", "/usr/bin/dist:/usr/bin/dist", "/var:/var","/containers:/containers","/dev:/dev","/sys:/sys"], "capabilities": ["all"]}'
|
LABEL org.mobyproject.config='{"pid": "host", "binds": ["/root/.ssh:/root/.ssh", "/etc/resolv.conf:/etc/resolv.conf", "/run:/run", "/tmp:/tmp", "/etc:/hostroot/etc", "/usr/bin/ctr:/usr/bin/ctr", "/usr/bin/runc:/usr/bin/runc", "/var:/var","/containers:/containers","/dev:/dev","/sys:/sys"], "capabilities": ["all"]}'
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
||||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||||
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
- linuxkit/containerd:e33e0534d6fca88e1eb86897a1ea410b4a5d722e
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
||||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||||
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
- linuxkit/containerd:e33e0534d6fca88e1eb86897a1ea410b4a5d722e
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:12348442d56c2ee9abf13ff38dff2e36b515bd1e
|
- linuxkit/init:12348442d56c2ee9abf13ff38dff2e36b515bd1e
|
||||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||||
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
- linuxkit/containerd:e33e0534d6fca88e1eb86897a1ea410b4a5d722e
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
||||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||||
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
- linuxkit/containerd:e33e0534d6fca88e1eb86897a1ea410b4a5d722e
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
- linuxkit/ima-utils:dfeb3896fd29308b80ff9ba7fe5b8b767e40ca29
|
- linuxkit/ima-utils:dfeb3896fd29308b80ff9ba7fe5b8b767e40ca29
|
||||||
onboot:
|
onboot:
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
||||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||||
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
- linuxkit/containerd:e33e0534d6fca88e1eb86897a1ea410b4a5d722e
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
@ -27,7 +27,7 @@ onboot:
|
|||||||
- /var/lib:/var/lib
|
- /var/lib:/var/lib
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:0a2955f3d7a10a0e71972791c3ba6400118f327e
|
image: linuxkit/getty:9c32352b2a7b2f233de8741396afeb26b58f9a05
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
@ -37,7 +37,7 @@ services:
|
|||||||
- name: ntpd
|
- name: ntpd
|
||||||
image: linuxkit/openntpd:19370f5d9bec84eb91073b7196b732f1301d9c90
|
image: linuxkit/openntpd:19370f5d9bec84eb91073b7196b732f1301d9c90
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:89b2e91d7d1bf2f40220be0e3ed586e74746cceb
|
image: linuxkit/sshd:a00846032891f77f4f78b8a197e94e13a476a3ee
|
||||||
- name: docker
|
- name: docker
|
||||||
image: docker:17.06.0-ce-dind
|
image: docker:17.06.0-ce-dind
|
||||||
capabilities:
|
capabilities:
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
||||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||||
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
- linuxkit/containerd:e33e0534d6fca88e1eb86897a1ea410b4a5d722e
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
@ -27,7 +27,7 @@ onboot:
|
|||||||
- /var/lib:/var/lib
|
- /var/lib:/var/lib
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:0a2955f3d7a10a0e71972791c3ba6400118f327e
|
image: linuxkit/getty:9c32352b2a7b2f233de8741396afeb26b58f9a05
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
@ -37,7 +37,7 @@ services:
|
|||||||
- name: ntpd
|
- name: ntpd
|
||||||
image: linuxkit/openntpd:19370f5d9bec84eb91073b7196b732f1301d9c90
|
image: linuxkit/openntpd:19370f5d9bec84eb91073b7196b732f1301d9c90
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:89b2e91d7d1bf2f40220be0e3ed586e74746cceb
|
image: linuxkit/sshd:a00846032891f77f4f78b8a197e94e13a476a3ee
|
||||||
- name: docker
|
- name: docker
|
||||||
image: docker:17.06.0-ce-dind
|
image: docker:17.06.0-ce-dind
|
||||||
capabilities:
|
capabilities:
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:12348442d56c2ee9abf13ff38dff2e36b515bd1e # with runc, logwrite, startmemlogd
|
- linuxkit/init:12348442d56c2ee9abf13ff38dff2e36b515bd1e # with runc, logwrite, startmemlogd
|
||||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||||
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
- linuxkit/containerd:e33e0534d6fca88e1eb86897a1ea410b4a5d722e
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
- linuxkit/memlogd:9b5834189f598f43c507f6938077113906f51012
|
- linuxkit/memlogd:9b5834189f598f43c507f6938077113906f51012
|
||||||
onboot:
|
onboot:
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
||||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||||
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
- linuxkit/containerd:e33e0534d6fca88e1eb86897a1ea410b4a5d722e
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
- samoht/fdd
|
- samoht/fdd
|
||||||
onboot:
|
onboot:
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
||||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||||
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
- linuxkit/containerd:e33e0534d6fca88e1eb86897a1ea410b4a5d722e
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:d1a43c7c91e92374766f962dc8534cf9508756b0
|
image: linuxkit/sysctl:d1a43c7c91e92374766f962dc8534cf9508756b0
|
||||||
@ -28,9 +28,9 @@ onboot:
|
|||||||
- /lib:/lib # for ifconfig
|
- /lib:/lib # for ifconfig
|
||||||
services:
|
services:
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:89b2e91d7d1bf2f40220be0e3ed586e74746cceb
|
image: linuxkit/sshd:a00846032891f77f4f78b8a197e94e13a476a3ee
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:0a2955f3d7a10a0e71972791c3ba6400118f327e
|
image: linuxkit/getty:9c32352b2a7b2f233de8741396afeb26b58f9a05
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
files:
|
files:
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
||||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||||
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
- linuxkit/containerd:e33e0534d6fca88e1eb86897a1ea410b4a5d722e
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
@ -15,7 +15,7 @@ services:
|
|||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:4b7b8bb024cebb1bbb9c8026d44d7cbc8e202c41
|
image: linuxkit/dhcpcd:4b7b8bb024cebb1bbb9c8026d44d7cbc8e202c41
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:89b2e91d7d1bf2f40220be0e3ed586e74746cceb
|
image: linuxkit/sshd:a00846032891f77f4f78b8a197e94e13a476a3ee
|
||||||
files:
|
files:
|
||||||
- path: root/.ssh/authorized_keys
|
- path: root/.ssh/authorized_keys
|
||||||
source: ~/.ssh/id_rsa.pub
|
source: ~/.ssh/id_rsa.pub
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
||||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||||
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
- linuxkit/containerd:e33e0534d6fca88e1eb86897a1ea410b4a5d722e
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
@ -16,7 +16,7 @@ onboot:
|
|||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:0a2955f3d7a10a0e71972791c3ba6400118f327e
|
image: linuxkit/getty:9c32352b2a7b2f233de8741396afeb26b58f9a05
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
||||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||||
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
- linuxkit/containerd:e33e0534d6fca88e1eb86897a1ea410b4a5d722e
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
||||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||||
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
- linuxkit/containerd:e33e0534d6fca88e1eb86897a1ea410b4a5d722e
|
||||||
- linuxkit/ca-certificates:4e9a83e890e6477dcd25029fc4f1ced61d0642f4
|
- linuxkit/ca-certificates:4e9a83e890e6477dcd25029fc4f1ced61d0642f4
|
||||||
- linuxkit/wireguard-utils:26fe3d38455f2d441549e3c54bdec1b26ac819b8
|
- linuxkit/wireguard-utils:26fe3d38455f2d441549e3c54bdec1b26ac819b8
|
||||||
onboot:
|
onboot:
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
||||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||||
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
- linuxkit/containerd:e33e0534d6fca88e1eb86897a1ea410b4a5d722e
|
||||||
services:
|
services:
|
||||||
- name: acpid
|
- name: acpid
|
||||||
image: linuxkit/acpid:1966310cb75e28ffc668863a6577ee991327f918
|
image: linuxkit/acpid:1966310cb75e28ffc668863a6577ee991327f918
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
||||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||||
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
- linuxkit/containerd:e33e0534d6fca88e1eb86897a1ea410b4a5d722e
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
||||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||||
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
- linuxkit/containerd:e33e0534d6fca88e1eb86897a1ea410b4a5d722e
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
||||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||||
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
- linuxkit/containerd:e33e0534d6fca88e1eb86897a1ea410b4a5d722e
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
@ -12,7 +12,7 @@ onboot:
|
|||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:0a2955f3d7a10a0e71972791c3ba6400118f327e
|
image: linuxkit/getty:9c32352b2a7b2f233de8741396afeb26b58f9a05
|
||||||
files:
|
files:
|
||||||
- path: etc/getty.shadow
|
- path: etc/getty.shadow
|
||||||
# sample sets password for root to "abcdefgh" (without quotes)
|
# sample sets password for root to "abcdefgh" (without quotes)
|
||||||
|
@ -40,22 +40,22 @@ expect {
|
|||||||
|
|
||||||
expect {
|
expect {
|
||||||
timeout {
|
timeout {
|
||||||
puts "FAILED dist pull"
|
puts "FAILED ctr pull"
|
||||||
exec kill -9 $pid
|
exec kill -9 $pid
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
$prompt {
|
$prompt {
|
||||||
send "dist pull $image\n"
|
send "ctr pull $image\n"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
expect {
|
expect {
|
||||||
timeout {
|
timeout {
|
||||||
puts "FAILED dist pull"
|
puts "FAILED ctr pull"
|
||||||
exec kill -9 $pid
|
exec kill -9 $pid
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
$prompt {
|
$prompt {
|
||||||
puts "SUCCESS dist pull"
|
puts "SUCCESS ctr pull"
|
||||||
send "ctr run -t $image test\n"
|
send "ctr run -t $image test\n"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
||||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||||
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
- linuxkit/containerd:e33e0534d6fca88e1eb86897a1ea410b4a5d722e
|
||||||
onboot:
|
onboot:
|
||||||
- name: ltp
|
- name: ltp
|
||||||
image: linuxkit/test-ltp:6df23ac196332cafb9c0f8e32f328e22d612267d
|
image: linuxkit/test-ltp:6df23ac196332cafb9c0f8e32f328e22d612267d
|
||||||
|
@ -6,7 +6,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
- linuxkit/init:d049e7b2074da5cd699a27defb47eb101142455d
|
||||||
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
- linuxkit/runc:d5cbeb95bdafedb82ad2cf11cff1a5da7fcae630
|
||||||
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
- linuxkit/containerd:e33e0534d6fca88e1eb86897a1ea410b4a5d722e
|
||||||
onboot:
|
onboot:
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:4b7b8bb024cebb1bbb9c8026d44d7cbc8e202c41
|
image: linuxkit/dhcpcd:4b7b8bb024cebb1bbb9c8026d44d7cbc8e202c41
|
||||||
|
@ -50,5 +50,6 @@ COPY --from=mirror /Dockerfile /Dockerfile
|
|||||||
|
|
||||||
RUN apk update && apk upgrade -a
|
RUN apk update && apk upgrade -a
|
||||||
|
|
||||||
|
# v1.0.0-alpha1 plus https://github.com/containerd/containerd/pull/1141
|
||||||
ENV CONTAINERD_REPO=https://github.com/ijc/containerd.git
|
ENV CONTAINERD_REPO=https://github.com/ijc/containerd.git
|
||||||
ENV CONTAINERD_COMMIT=3455ffc08c553db0ca9fe60b4ba2b3e8a2dc960b
|
ENV CONTAINERD_COMMIT=d42cb88ba2b08d2ca6c8c017d629b394bf1dd08c
|
||||||
|
@ -85,4 +85,5 @@ xorriso
|
|||||||
xz
|
xz
|
||||||
xz-dev
|
xz-dev
|
||||||
zfs
|
zfs
|
||||||
|
xfsprogs-extra
|
||||||
zlib-dev
|
zlib-dev
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# linuxkit/alpine:3744607156e6b67e3e7d083b15be9e7722215e73
|
# linuxkit/alpine:a39a433162a873519910a07beeb3e8db22529956
|
||||||
# automatically generated list of installed packages
|
# automatically generated list of installed packages
|
||||||
abuild-3.0.0_rc2-r7
|
abuild-3.0.0_rc2-r8
|
||||||
alpine-baselayout-3.0.4-r0
|
alpine-baselayout-3.0.4-r0
|
||||||
alpine-keys-2.1-r1
|
alpine-keys-2.1-r1
|
||||||
alsa-lib-1.1.3-r0
|
alsa-lib-1.1.3-r0
|
||||||
@ -216,6 +216,8 @@ vde2-libs-2.3.2-r7
|
|||||||
vim-8.0.0595-r0
|
vim-8.0.0595-r0
|
||||||
wayland-1.13.0-r0
|
wayland-1.13.0-r0
|
||||||
xfsprogs-4.5.0-r0
|
xfsprogs-4.5.0-r0
|
||||||
|
xfsprogs-extra-4.5.0-r0
|
||||||
|
xfsprogs-libs-4.5.0-r0
|
||||||
xorriso-1.4.6-r0
|
xorriso-1.4.6-r0
|
||||||
xz-5.2.3-r0
|
xz-5.2.3-r0
|
||||||
xz-dev-5.2.3-r0
|
xz-dev-5.2.3-r0
|
||||||
|
Loading…
Reference in New Issue
Block a user