Skip to content

Cannot start container using instructions from README on latest build #884

@willmtemple

Description

@willmtemple

I attempted to follow the instructions in the README to create a container from a docker image based on busybox using the latest commit ab10b60.

# mkdir rootfs
# docker export $(docker create busybox) | tar -C rootfs xvf -
# runc spec
# runc run test

Expected result: /bin/sh prompt
Actual result: idle, no output, dies on SIGINT

Using the repository version of runc on Fedora, I can runc start test as previous, with the compiled version from this repo, I get

open /run/runc/test/state.json: no such file or directory

While the runc run test is idle, I have

# runc ps test
UID        PID  PPID  C STIME TTY          TIME CMD
root     18960 18952  0 13:26 pts/5    00:00:00 /home/wtemple/.go/src/github.com/opencontainers/runc/runc init

Built with Fedora 23, BUILDTAGS="seccomp selinux", also tried with just BUILDTAGS="seccomp"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions