Thanks to visit codestin.com
Credit goes to github.com

Skip to content

container_linux.go:247: starting container process caused "exec: \"/pause\": stat /pause: no such file or directory" #102

@runcom

Description

@runcom

just make binaries and then try to run something starting ocid with paths to conmon/pause binaries /cc @cyphar

$ sudo ./ocid --pause /home/amurdaca/src/github.com/kubernetes-incubator/cri-o/pause/pause --runtime /usr/local/sbin/runc --debug --conmon $PWD/conmon/conmon & OCID_PID=$!
[1] 22136
$ INFO[0000] Starting reaper                              
E1006 18:10:39.956877   22145 ocicni.go:136] error updating cni config: No networks found in /etc/cni/net.d
DEBU[0000] sandboxes: map[]                             
DEBU[0000] containers: &{map[] {{0 0} 0 0 0 0}}         

$ ‹master› sudo ./ocic pod create --name pod1 --config test/testdata/sandbox_config.json
container_linux.go:247: starting container process caused "exec: \"/pause\": stat /pause: no such file or directory"
conmon: Failed to create container
FATA[0000] Creating the pod sandbox failed: rpc error: code = 2 desc = reading pid from init pipe: EOF 
INFO[0009] Signal received: child exited                
INFO[0009] Reaped process with pid 22195

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions