how to list Docker images with Vagrant and Kubernetes

8/26/2015

I try to Install Stratos with Kubernetes in a Testing Environment to build Stratos.I downloading the Kubernetes binaries and provisioned a Docker registry to VAGRANT_KUBERNETES_SETUP folder (in 2.c. i in page).But it gives 3 Failed Units(docker.service,setup-network-environment.service and docker.socket) When I Log into the master node.
So I can't view Docker images by using 'docker images' command.when I view docker images it give this error-
"FATA[0000] Cannot connect to the Docker daemon. Is 'docker -d' running on this host?"
how can i fixed this problem?do i need to install in different way to work with vagrant?

-- heshjse
docker
kubernetes
vagrant
wso2

1 Answer

8/31/2015

Did you do a sudo -s on the node ? You have to be an admin to connect to the docker daemon and do queries using docker command line client.

-- Uday
Source: StackOverflow