Skip to content

Add support for TeamCity #14

@pooventhan

Description

@pooventhan

Hi,

I've attempted to create kind cluster within team city agent (which runs on docker) with the following steps:

curl -Lo ./kind https://github.com/kubernetes-sigs/kind/releases/download/v0.5.1/kind-$(uname)-amd64
chmod +x ./kind
mv ./kind /usr/local/bin/kind

Upon executing, kind create cluster --name=testcluster, it stucks at ensuring node image kindest/node

root@1a923b0e0774:/# kind create cluster --name=testcluster
Creating cluster "testcluster" ...
Ensuring node image (kindest/node:v1.15.3)

Also did further check by pulling kindest/node image, which gives below error:

root@1a923b0e0774:/# docker pull kindest/node:v1.15.3
v1.15.3: Pulling from kindest/node
09fe536fe3e4: Pull complete
4326ed393c12: Pull complete
73a8f76105d8: Extracting [==================================================>]     209B/209B
61a147631503: Download complete
ebf284b29a9b: Download complete
45edd976aead: Download complete
25a49a5ef18f: Download complete
ac9964da2ccf: Download complete
a9e631f193b5: Download complete
3d2abb89014a: Download complete
c4dcd9c54845: Download complete
1a7ee4f67711: Download complete
failed to register layer: Error processing tar file(exit status 1): failed to mknod("/var/lib/apt/lists/auxfiles", S_IFCHR, 0): operation not permitted

Appreciate if anyone can shed some light on this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions