HUB
Sign inSign up

llamashoes/dind-kubernetes

By llamashoes

•Updated about 11 years ago

Run kubernetes locally using docker in docker (dind)

Image
3

2.1K

llamashoes/dind-kubernetes repository overview

⁠Kubernetes - Docker-in-Docker

This recipe lets you run Kubernetes in Docker within Docker.

Forked from https://github.com/jpetazzo/dind⁠

The purpose of this came down to a desire to quickly start a local kubernetes cluster using hack/local-up-cluster.sh in the kubernetes source code.

There is only one requirement: your Docker version should support the --privileged flag.

⁠Quickstart

Build the image:

docker build -t dind-kubernetes.

then run:

docker run --privileged -t -i --net="host" dind-kubernetes

Or run the image without building:

docker run --privileged -t -i --net="host" llamashoes/dind-kubernetes

You can then make api calls to kubernetes apiserver running on :8888

Tag summary
Recent tags
Content type
Image
Digest
sha256:b8f6eb013…
Size
265.2 MB
Last updated
about 11 years ago
docker pull llamashoes/dind-kubernetes:latest