1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136
| libcontainer.parentProcess(*libcontainer.initProcess) *{ cmd: *os/exec.Cmd { Path: "/proc/self/exe", Args: []string len: 2, cap: 2, [ "/usr/local/bin/runc", "init", ], Env: []string len: 7, cap: 12, [ "GOMAXPROCS=", "_LIBCONTAINER_INITPIPE=3", "_LIBCONTAINER_STATEDIR=/run/runc/mycontainer", "_LIBCONTAINER_LOGPIPE=4", "_LIBCONTAINER_LOGLEVEL=4", "_LIBCONTAINER_FIFOFD=5", "_LIBCONTAINER_INITTYPE=standard", ], Dir: "/home/acotten/mybundle/rootfs", Stdin: io.Reader(*os.File) *{ file: *(*os.file)(0xc000082060),}, Stdout: io.Writer(*os.File) *{ file: *(*os.file)(0xc0000820c0),}, Stderr: io.Writer(*os.File) *{ file: *(*os.file)(0xc000082120),}, ExtraFiles: []*os.File len: 3, cap: 4, [ *(*os.File)(0xc000014bb8), *(*os.File)(0xc000014bc8), *(*os.File)(0xc000014be8), ],}, messageSockPair: libcontainer.filePair { parent: *(*os.File)(0xc000014bb0), child: *(*os.File)(0xc000014bb8),}, logFilePair: libcontainer.filePair { parent: *(*os.File)(0xc000014bc0), child: *(*os.File)(0xc000014bc8),}, config: *libcontainer.initConfig { Args: []string len: 4, cap: 4, [ "/docker-entrypoint.sh", "nginx", "-g", "daemon off;", ], Env: []string len: 4, cap: 4, [ "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", "NGINX_VERSION=1.25.1", "PKG_RELEASE=1", "NJS_VERSION=0.7.12", ], Cwd: "/", Capabilities: *(*"libcontainer/configs.Capabilities")(0xc0000bf200), User: "0:0", AdditionalGroups: []string len: 11, cap: 16, [ "0","1","2","3","4","6","10","11","20","26","27"], Config: *(*"libcontainer/configs.Config")(0xc0000e21e0), Networks: []*libcontainer.network len: 0, cap: 0, nil, PassedFilesCount: 0, ContainerId: "mycontainer", Rlimits: []libcontainer/configs.Rlimit len: 1, cap: 1, [ (*"libcontainer/configs.Rlimit")(0xc00002d4d0), ],}, manager: libcontainer/cgroups.Manager(*libcontainer/cgroups/fs.manager) *{ cgroups: *libcontainer/configs.Cgroup { Name: "", Parent: "", Path: "/default/1b260428b931d1c22fa618e251c7da66f84d18fe66f2ee67d...+15 more", ScopePrefix: "", Resources: *(*"libcontainer/configs.Resources")(0xc000002300), Rootless: false, OwnerUID: *int nil,}, paths: map[string]string [ "memory": "/sys/fs/cgroup/memory/default/1b260428b931d1c22fa618e2...+40 more", "net_cls": "/sys/fs/cgroup/net_cls/default/1b260428b931d1c22fa618...+42 more", "net_prio": "/sys/fs/cgroup/net_prio/default/1b260428b931d1c22fa6...+44 more", "": "/sys/fs/cgroup/unified/default/1b260428b931d1c22fa618e251c7d...+35 more", "cpuset": "/sys/fs/cgroup/cpuset/default/1b260428b931d1c22fa618e2...+40 more", "rdma": "/sys/fs/cgroup/rdma/default/1b260428b931d1c22fa618e251c7...+36 more", "devices": "/sys/fs/cgroup/devices/default/1b260428b931d1c22fa618...+42 more", "cpu": "/sys/fs/cgroup/cpu/default/1b260428b931d1c22fa618e251c7da...+34 more", "perf_event": "/sys/fs/cgroup/perf_event/default/1b260428b931d1c2...+48 more", "misc": "/sys/fs/cgroup/misc/default/1b260428b931d1c22fa618e251c7...+36 more", "cpuacct": "/sys/fs/cgroup/cpuacct/default/1b260428b931d1c22fa618...+42 more", "pids": "/sys/fs/cgroup/pids/default/1b260428b931d1c22fa618e251c7...+36 more", "blkio": "/sys/fs/cgroup/blkio/default/1b260428b931d1c22fa618e251...+38 more", "hugetlb": "/sys/fs/cgroup/hugetlb/default/1b260428b931d1c22fa618...+42 more", "freezer": "/sys/fs/cgroup/freezer/default/1b260428b931d1c22fa618...+42 more", ],} container: *libcontainer.linuxContainer { id: "mycontainer", root: "/run/runc/mycontainer", config: *(*"libcontainer/configs.Config")(0xc0000e21e0), cgroupManager: libcontainer/cgroups.Manager(*libcontainer/cgroups/fs.manager) ..., initPath: "/proc/self/exe", initArgs: []string len: 2, cap: 2, [ "/usr/local/bin/runc", "init", ], initProcess: libcontainer.parentProcess(*libcontainer.initProcess) ..., initProcessStartTime: 0, state: libcontainer.containerState(*libcontainer.stoppedState) ..., created: (*time.Time)(0xc0001d42b0), fifo: *(*os.File)(0xc000014be8),}, fds: []string len: 0, cap: 0, nil, process: *libcontainer.Process { Args: []string len: 4, cap: 4, [ "/docker-entrypoint.sh", "nginx", "-g", "daemon off;", ], Env: []string len: 4, cap: 4, [ "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bi...+1 more", "NGINX_VERSION=1.25.1", "PKG_RELEASE=1", "NJS_VERSION=0.7.12", ], User: "0:0", AdditionalGroups: []string len: 11, cap: 16, [ "0","1","2","3","4","6","10","11","20","26","27"], Cwd: "/", Stdin: io.Reader(*os.File) ..., Stdout: io.Writer(*os.File) ..., Stderr: io.Writer(*os.File) ..., ExtraFiles: []*os.File len: 0, cap: 0, nil, Capabilities: *(*"libcontainer/configs.Capabilities")(0xc0000bf200), Rlimits: []libcontainer/configs.Rlimit len: 1, cap: 1, [ (*"libcontainer/configs.Rlimit")(0xc00002d4d0), ], Init: true, ops: libcontainer.processOperations nil, LogLevel: "4", SubCgroupPaths: map[string]string nil,}, bootstrapData: io.Reader(*bytes.Reader) *{ s: []uint8 len: 32, cap: 32, [ 32,0,0,0,48,242,1,0,1,0,0,0,0,0,0,0,8,0,145,106,0,0,2,108,8,0,151,106,0,0,0,0], i: 0, prevRune: -1,}, }
|