dockery
dockery copied to clipboard
Unable to list containers
Hi, I really like what you did, thanks for open sourcing it. I hope you'll be able to help me make it work.
OS X 10.10.5
docker-machine 0.4.0
docker 1.8.1, build d12ea79
Virtualbox
I'm using Chrome app and here's what I did:
docker-machine ssh defaultsudo vi /var/lib/boot2docker/profile- added the following line at the bottom:
DOCKER_OPTS="--dns 8.8.8.8 --dns 8.8.4.4 -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock -api-enable-cors"
docker-machine restart default
I added docker hosts without any problems (they are green), but when I click on Refresh in the container list tab I get:
Error: [$resource:badcfg] Error in resource configuration for action `query`. Expected response to contain an array but got an object
http://errors.angularjs.org/1.4.1/$resource/badcfg?p0=query&p1=array&p2=object
at angular.js:68
at $http.then.value.$resolved (angular-resource.js:587)
at processQueue (angular.js:14551)
at angular.js:14567
at Scope.$eval (angular.js:15830)
at Scope.$digest (angular.js:15641)
at Scope.$apply (angular.js:15935)
at done (angular.js:10356)
at completeRequest (angular.js:10528)
at XMLHttpRequest.requestLoaded (angular.js:10469)(anonymous function) @ angular.js:12314(anonymous function) @ angular.js:9101processQueue @ angular.js:14559(anonymous function) @ angular.js:14567Scope.$eval @ angular.js:15830Scope.$digest @ angular.js:15641Scope.$apply @ angular.js:15935done @ angular.js:10356completeRequest @ angular.js:10528requestLoaded @ angular.js:10469
And one more thing, this is how the Docker host information page looks like (I assume that should be filled in):

Hm. I have to check i. I've never seen that before :) Give me some time :)
Thanks for looking into it :+1: