mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-20 17:49:10 +00:00
Merge pull request #2204 from ijc/service-sod-cleanup
Service start of day cleanup
This commit is contained in:
commit
fe8084d5d1
@ -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:a626edd428b575d10b994be0d4c5b034838e9946
|
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
||||||
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
||||||
- linuxkit/containerd:f1f9c27e153b510e09b2e3f221181f87ade0fe1a
|
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
||||||
onboot:
|
onboot:
|
||||||
# support metadata for optional config in /var/config
|
# support metadata for optional config in /var/config
|
||||||
- name: metadata
|
- name: metadata
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
||||||
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
||||||
- linuxkit/containerd:f1f9c27e153b510e09b2e3f221181f87ade0fe1a
|
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
||||||
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
||||||
- linuxkit/containerd:f1f9c27e153b510e09b2e3f221181f87ade0fe1a
|
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
||||||
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
||||||
- linuxkit/containerd:f1f9c27e153b510e09b2e3f221181f87ade0fe1a
|
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
||||||
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
||||||
- linuxkit/containerd:f1f9c27e153b510e09b2e3f221181f87ade0fe1a
|
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
||||||
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
||||||
- linuxkit/containerd:f1f9c27e153b510e09b2e3f221181f87ade0fe1a
|
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
||||||
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
||||||
- linuxkit/containerd:f1f9c27e153b510e09b2e3f221181f87ade0fe1a
|
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
||||||
onboot:
|
onboot:
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:4b7b8bb024cebb1bbb9c8026d44d7cbc8e202c41
|
image: linuxkit/dhcpcd:4b7b8bb024cebb1bbb9c8026d44d7cbc8e202c41
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
||||||
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
||||||
- linuxkit/containerd:f1f9c27e153b510e09b2e3f221181f87ade0fe1a
|
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:0bd92d5f906491c20e4177c57f965338fe5a8c5f
|
image: linuxkit/getty:0bd92d5f906491c20e4177c57f965338fe5a8c5f
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
||||||
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
||||||
- linuxkit/containerd:f1f9c27e153b510e09b2e3f221181f87ade0fe1a
|
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
|
@ -6,7 +6,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
||||||
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
||||||
- linuxkit/containerd:f1f9c27e153b510e09b2e3f221181f87ade0fe1a
|
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
||||||
onboot:
|
onboot:
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:4b7b8bb024cebb1bbb9c8026d44d7cbc8e202c41
|
image: linuxkit/dhcpcd:4b7b8bb024cebb1bbb9c8026d44d7cbc8e202c41
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
||||||
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
||||||
- linuxkit/containerd:f1f9c27e153b510e09b2e3f221181f87ade0fe1a
|
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
||||||
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
||||||
- linuxkit/containerd:f1f9c27e153b510e09b2e3f221181f87ade0fe1a
|
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
||||||
- linuxkit/ca-certificates:eabc5a6e59f05aa91529d80e9a595b85b046f935
|
- linuxkit/ca-certificates:eabc5a6e59f05aa91529d80e9a595b85b046f935
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
||||||
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
||||||
- linuxkit/containerd:f1f9c27e153b510e09b2e3f221181f87ade0fe1a
|
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
||||||
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
||||||
- linuxkit/containerd:f1f9c27e153b510e09b2e3f221181f87ade0fe1a
|
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
||||||
onboot:
|
onboot:
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:4b7b8bb024cebb1bbb9c8026d44d7cbc8e202c41
|
image: linuxkit/dhcpcd:4b7b8bb024cebb1bbb9c8026d44d7cbc8e202c41
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
||||||
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
||||||
- linuxkit/containerd:f1f9c27e153b510e09b2e3f221181f87ade0fe1a
|
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
||||||
onboot:
|
onboot:
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:4b7b8bb024cebb1bbb9c8026d44d7cbc8e202c41
|
image: linuxkit/dhcpcd:4b7b8bb024cebb1bbb9c8026d44d7cbc8e202c41
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
||||||
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
||||||
- linuxkit/containerd:f1f9c27e153b510e09b2e3f221181f87ade0fe1a
|
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
||||||
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
||||||
- linuxkit/containerd:f1f9c27e153b510e09b2e3f221181f87ade0fe1a
|
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
IMAGE=containerd
|
IMAGE=containerd
|
||||||
NETWORK=1
|
NETWORK=1
|
||||||
DEPS=$(wildcard etc/init.d/*) etc/containerd/config.toml
|
DEPS=$(wildcard etc/init.d/*) $(wildcard cmd/service/*.go) etc/containerd/config.toml
|
||||||
|
|
||||||
include ../package.mk
|
include ../package.mk
|
||||||
|
@ -29,6 +29,7 @@ func main() {
|
|||||||
flag.Usage = func() {
|
flag.Usage = func() {
|
||||||
fmt.Printf("USAGE: %s [options] COMMAND\n\n", filepath.Base(os.Args[0]))
|
fmt.Printf("USAGE: %s [options] COMMAND\n\n", filepath.Base(os.Args[0]))
|
||||||
fmt.Printf("Commands:\n")
|
fmt.Printf("Commands:\n")
|
||||||
|
fmt.Printf(" system-init Prepare the system at start of day\n")
|
||||||
fmt.Printf(" start Start a service\n")
|
fmt.Printf(" start Start a service\n")
|
||||||
fmt.Printf(" help Print this message\n")
|
fmt.Printf(" help Print this message\n")
|
||||||
fmt.Printf("\n")
|
fmt.Printf("\n")
|
||||||
@ -67,6 +68,8 @@ func main() {
|
|||||||
switch args[0] {
|
switch args[0] {
|
||||||
case "start":
|
case "start":
|
||||||
start(args[1:])
|
start(args[1:])
|
||||||
|
case "system-init":
|
||||||
|
systemInit(args[1:])
|
||||||
default:
|
default:
|
||||||
fmt.Printf("%q is not valid command.\n\n", args[0])
|
fmt.Printf("%q is not valid command.\n\n", args[0])
|
||||||
flag.Usage()
|
flag.Usage()
|
||||||
|
101
pkg/containerd/cmd/service/system_init.go
Normal file
101
pkg/containerd/cmd/service/system_init.go
Normal file
@ -0,0 +1,101 @@
|
|||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"context"
|
||||||
|
"flag"
|
||||||
|
"fmt"
|
||||||
|
"os"
|
||||||
|
"path/filepath"
|
||||||
|
"syscall"
|
||||||
|
|
||||||
|
log "github.com/Sirupsen/logrus"
|
||||||
|
"github.com/containerd/containerd"
|
||||||
|
"github.com/containerd/containerd/namespaces"
|
||||||
|
"github.com/pkg/errors"
|
||||||
|
)
|
||||||
|
|
||||||
|
func cleanupTask(ctx context.Context, ctr containerd.Container) error {
|
||||||
|
task, err := ctr.Task(ctx, nil)
|
||||||
|
if err != nil {
|
||||||
|
if err == containerd.ErrNoRunningTask {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
return errors.Wrap(err, "getting task")
|
||||||
|
}
|
||||||
|
|
||||||
|
deleteErr := make(chan error, 1)
|
||||||
|
deleteCtx, deleteCancel := context.WithCancel(ctx)
|
||||||
|
defer deleteCancel()
|
||||||
|
|
||||||
|
go func(ctx context.Context, ch chan error) {
|
||||||
|
_, err := task.Delete(ctx)
|
||||||
|
if err != nil {
|
||||||
|
ch <- errors.Wrap(err, "killing task")
|
||||||
|
}
|
||||||
|
ch <- nil
|
||||||
|
}(deleteCtx, deleteErr)
|
||||||
|
|
||||||
|
sig := syscall.SIGKILL
|
||||||
|
if err := task.Kill(ctx, sig); err != nil && err != containerd.ErrProcessExited {
|
||||||
|
return errors.Wrapf(err, "killing task with %q", sig)
|
||||||
|
}
|
||||||
|
|
||||||
|
select {
|
||||||
|
case err := <-deleteErr:
|
||||||
|
return err
|
||||||
|
case <-ctx.Done():
|
||||||
|
return ctx.Err()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func systemInit(args []string) {
|
||||||
|
invoked := filepath.Base(os.Args[0])
|
||||||
|
flags := flag.NewFlagSet("system-init", flag.ExitOnError)
|
||||||
|
flags.Usage = func() {
|
||||||
|
fmt.Printf("USAGE: %s system-init\n\n", invoked)
|
||||||
|
fmt.Printf("Options:\n")
|
||||||
|
flags.PrintDefaults()
|
||||||
|
}
|
||||||
|
|
||||||
|
sock := flags.String("sock", "/run/containerd/containerd.sock", "Path to containerd socket")
|
||||||
|
|
||||||
|
if err := flags.Parse(args); err != nil {
|
||||||
|
log.Fatal("Unable to parse args")
|
||||||
|
}
|
||||||
|
args = flags.Args()
|
||||||
|
|
||||||
|
if len(args) != 0 {
|
||||||
|
fmt.Println("Unexpected argument")
|
||||||
|
flags.Usage()
|
||||||
|
os.Exit(1)
|
||||||
|
}
|
||||||
|
|
||||||
|
client, err := containerd.New(*sock)
|
||||||
|
if err != nil {
|
||||||
|
log.WithError(err).Fatal("creating containerd client")
|
||||||
|
}
|
||||||
|
|
||||||
|
ctx := namespaces.WithNamespace(context.Background(), "default")
|
||||||
|
|
||||||
|
ctrs, err := client.Containers(ctx)
|
||||||
|
if err != nil {
|
||||||
|
log.WithError(err).Fatal("listing containers")
|
||||||
|
}
|
||||||
|
|
||||||
|
// None of the errors in this loop are fatal since we want to
|
||||||
|
// keep trying.
|
||||||
|
for _, ctr := range ctrs {
|
||||||
|
log.Infof("Cleaning up stale service: %q", ctr.ID())
|
||||||
|
log := log.WithFields(log.Fields{
|
||||||
|
"service": ctr.ID(),
|
||||||
|
})
|
||||||
|
|
||||||
|
if err := cleanupTask(ctx, ctr); err != nil {
|
||||||
|
log.WithError(err).Error("cleaning up task")
|
||||||
|
}
|
||||||
|
|
||||||
|
if err := ctr.Delete(ctx); err != nil {
|
||||||
|
log.WithError(err).Error("deleting container")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -12,6 +12,8 @@ done
|
|||||||
|
|
||||||
# start service containers
|
# start service containers
|
||||||
|
|
||||||
|
service system-init
|
||||||
|
|
||||||
if [ -d /containers/services ]
|
if [ -d /containers/services ]
|
||||||
then
|
then
|
||||||
for f in $(find /containers/services -mindepth 1 -maxdepth 1 | sort)
|
for f in $(find /containers/services -mindepth 1 -maxdepth 1 | sort)
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
||||||
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
||||||
- linuxkit/containerd:f1f9c27e153b510e09b2e3f221181f87ade0fe1a
|
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
||||||
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
||||||
- linuxkit/containerd:f1f9c27e153b510e09b2e3f221181f87ade0fe1a
|
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
||||||
- 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:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
||||||
- linuxkit/containerd:f1f9c27e153b510e09b2e3f221181f87ade0fe1a
|
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
||||||
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
||||||
- linuxkit/containerd:f1f9c27e153b510e09b2e3f221181f87ade0fe1a
|
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
||||||
- 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:a626edd428b575d10b994be0d4c5b034838e9946
|
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
||||||
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
||||||
- linuxkit/containerd:f1f9c27e153b510e09b2e3f221181f87ade0fe1a
|
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
||||||
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
||||||
- linuxkit/containerd:f1f9c27e153b510e09b2e3f221181f87ade0fe1a
|
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:12348442d56c2ee9abf13ff38dff2e36b515bd1e # with runc, logwrite, startmemlogd
|
- linuxkit/init:12348442d56c2ee9abf13ff38dff2e36b515bd1e # with runc, logwrite, startmemlogd
|
||||||
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
||||||
- linuxkit/containerd:f1f9c27e153b510e09b2e3f221181f87ade0fe1a
|
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
||||||
- 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:a626edd428b575d10b994be0d4c5b034838e9946
|
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
||||||
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
||||||
- linuxkit/containerd:f1f9c27e153b510e09b2e3f221181f87ade0fe1a
|
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
- samoht/fdd
|
- samoht/fdd
|
||||||
onboot:
|
onboot:
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
||||||
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
||||||
- linuxkit/containerd:f1f9c27e153b510e09b2e3f221181f87ade0fe1a
|
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:d1a43c7c91e92374766f962dc8534cf9508756b0
|
image: linuxkit/sysctl:d1a43c7c91e92374766f962dc8534cf9508756b0
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
||||||
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
||||||
- linuxkit/containerd:f1f9c27e153b510e09b2e3f221181f87ade0fe1a
|
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
||||||
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
||||||
- linuxkit/containerd:f1f9c27e153b510e09b2e3f221181f87ade0fe1a
|
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
||||||
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
||||||
- linuxkit/containerd:f1f9c27e153b510e09b2e3f221181f87ade0fe1a
|
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
||||||
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
||||||
- linuxkit/containerd:f1f9c27e153b510e09b2e3f221181f87ade0fe1a
|
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
||||||
- 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:a626edd428b575d10b994be0d4c5b034838e9946
|
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
||||||
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
||||||
- linuxkit/containerd:f1f9c27e153b510e09b2e3f221181f87ade0fe1a
|
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
||||||
services:
|
services:
|
||||||
- name: acpid
|
- name: acpid
|
||||||
image: linuxkit/acpid:1966310cb75e28ffc668863a6577ee991327f918
|
image: linuxkit/acpid:1966310cb75e28ffc668863a6577ee991327f918
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
||||||
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
||||||
- linuxkit/containerd:f1f9c27e153b510e09b2e3f221181f87ade0fe1a
|
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
||||||
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
||||||
- linuxkit/containerd:f1f9c27e153b510e09b2e3f221181f87ade0fe1a
|
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
||||||
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
||||||
- linuxkit/containerd:f1f9c27e153b510e09b2e3f221181f87ade0fe1a
|
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
||||||
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
- linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf
|
||||||
onboot:
|
onboot:
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
|
@ -4,7 +4,7 @@ kernel:
|
|||||||
init:
|
init:
|
||||||
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
||||||
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
||||||
- linuxkit/containerd:f1f9c27e153b510e09b2e3f221181f87ade0fe1a
|
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
||||||
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:a626edd428b575d10b994be0d4c5b034838e9946
|
- linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946
|
||||||
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
- linuxkit/runc:f5b28379fc969237e0fb11aa1ed946622150e9a0
|
||||||
- linuxkit/containerd:f1f9c27e153b510e09b2e3f221181f87ade0fe1a
|
- linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385
|
||||||
onboot:
|
onboot:
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:4b7b8bb024cebb1bbb9c8026d44d7cbc8e202c41
|
image: linuxkit/dhcpcd:4b7b8bb024cebb1bbb9c8026d44d7cbc8e202c41
|
||||||
|
Loading…
Reference in New Issue
Block a user