Skip to content

can't download the docker image #6

@danielxiaozhu

Description

@danielxiaozhu

I set the aliyun register-mirrors when ran the shell. And I can download docker.io/busybox image by "docker create docker.io/busybox". But when I executed "kubectl --kubeconfig /etc/kubernetes/admin.conf create -f test.yaml", Nothing happened. no image was downloaded.
test.yaml like below:
apiVersion: v1
kind: Pod
metadata:
name: test
spec:
containers:
- name: test-container
image: docker.io/busybox
command: [ "/bin/sh", "-c", "env" ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No 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