An Ubuntu based image with kubectl:1.18 downloaded. Not the Entrypoint nor the default command are kubectl. . Thus, this is a larger image but more versatile. You can add a kubeconfig file by using a mount:
docker run -v ${HOME}/.kube/config:/root/.kube/config lwileczekdmc/kubectl kubectl create -f k8s-object.yml
Content type
-
Digest
Size
70.5 MB
Last updated
about 6 years ago
docker pull lwileczekdmc/kubectl