Public | Automated Build

Last pushed: 3 years ago
Short Description
Run kubernetes locally using docker in docker (dind)
Full Description

Kubernetes - Docker-in-Docker

This recipe lets you run Kubernetes in Docker within Docker.

Forked from

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

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


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 <yourip>:8888

Docker Pull Command
Source Repository