Does Kubernetes (local Docker method) really work?

As per the official documentation here on running Kubernetes locally inside a container – I have followed all the steps carefully, and I am still getting the message connection refused when I type kubectl get nodes.

docker ps shows that api-server is not running, and docker logs kubelet does indeed varify so:

[kubelet.go:1137] Unable to register with the apiserver: Post http://localhost:8080/api/v1/nodes: dial tcp connection refused.

After a little while, docker logs kubelet

E0711 16:07:06.814735   33792 event.go:202] Unable to write event: 'Post http://localhost:8080/api/v1/namespaces/default/events: dial tcp connection refused' (may retry after sleeping)

Apparently, I am not alone in experiencing this problem.