Skip to content

[Bug] OCI runtime create failed: container_linux.go:265: starting container process caused \"permission denied\": unknown"} #2280

@marryton007

Description

@marryton007

Ⅰ. Issue Description

I using windows 10 + vagrant to manage a centos7 VM, try to play pouch, but It happens while I ran the following command:

[vagrant@localhost system]$ pouch run --name nginx nginx
Error: failed to run container nginx: {"message":"failed to create container(b47e4e97a1764a05379a54e214725ef5972108762719117071e793e9326ce8a8) on containerd: failed to create task for container(b47e4e97a1764a05379a54e214725ef5972108762719117071e793e9326ce8a8): OCI runtime create failed: container_linux.go:265: starting container process caused \"permission denied\": unknown"}

Ⅱ. Describe what happened

[vagrant@localhost system]$ pouch ps -a
Name    ID       Status                  Created         Image                                          Runtime
nginx   b47e4e   Stopped (0) 4 minutes   4 minutes ago   registry.hub.docker.com/library/nginx:latest   runc

Ⅲ. Describe what you expected to happen

the container could be startup normally

Ⅳ. How to reproduce it (as minimally and precisely as possible)

Ⅴ. Anything else we need to know?

Follow the start guide: https://github.com/alibaba/pouch/blob/master/INSTALLATION.md

Ⅵ. Environment:

  • pouch version (use pouch version):
    [vagrant@localhost system]$ pouch version
    GitCommit: 1.0.0.rc2
    GoVersion: go1.9.1
    KernelVersion: 3.10.0-862.11.6.el7.x86_64
    Os: linux
    Version: 1.0.0-rc2
    APIVersion: 1.24
    Arch: amd64
    BuildTime: 2018-08-23T06:39:26+00:00

  • OS (e.g. from /etc/os-release):
    [vagrant@localhost system]$ cat /etc/os-release
    NAME="CentOS Linux"
    VERSION="7 (Core)"
    ID="centos"
    ID_LIKE="rhel fedora"
    VERSION_ID="7"
    PRETTY_NAME="CentOS Linux 7 (Core)"
    ANSI_COLOR="0;31"
    CPE_NAME="cpe:/o:centos:centos:7"
    HOME_URL="https://www.centos.org/"
    BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

  • Kernel (e.g. uname -a):
    [vagrant@localhost system]$ uname -a
    Linux localhost.localdomain 3.10.0-862.11.6.el7.x86_64 add travis.yml for CI #1 SMP Tue Aug 14 21:49:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

  • Install tools:

  • Others:

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions