Skip to content

Create container failed #2462

@hmtai

Description

@hmtai

When I create containers with containerd,it can't create container.

# crictl runp my-sandbox.yaml
f2b4bb08874a84cf69d80521a509727b15d1df6bb047daf09175226dcef05095
# crictl create f2b4bb08874a84cf69d80521a509727b15d1df6bb047daf09175226dcef05095 my-containerd.yaml my-sandbox.yaml

Debug info:

# containerd -l debug
containerd: unmounting temp mounts: failed to unmount target /var/lib/containerd/tmpmounts/containerd-mount980710714: device or resource busy

The OS info

# cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.4 LTS"
NAME="Ubuntu"
VERSION="16.04.4 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.4 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial
# cat /proc/version
Linux version 4.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016

contaienrd version

# crictl version
Version:  0.1.0
RuntimeName:  containerd
RuntimeVersion:  v1.1.0
RuntimeApiVersion:  v1alpha2

containerd --version
containerd github.com/containerd/containerd v1.1.0 209a7fc

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