ansibleplaybookbundle / ansible-playbook-bundle

THIS REPO IS MIGRATING: https://github.com/automationbroker/apb
GNU General Public License v2.0
140 stars 70 forks source link

apb-docker shell script fails using minishift #300

Open cmoulliard opened 6 years ago

cmoulliard commented 6 years ago

script reports that it can't access tjhe docker daemon running in minishift while a docker ps command issued from my MacOS terminal works

eval $(minishift docker-env)
./apb-docker-run.sh
Running APB image: docker.io/ansibleplaybookbundle/apb-tools:canary
Targetting minishift host: tcp://192.168.65.5:2376
docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.
See 'docker run --help'.

BUT

docker ps
CONTAINER ID        IMAGE                         COMMAND                  CREATED             STATUS              PORTS               NAMES
7b78cee4a948        50c7bffa0653                  "/usr/bin/openshift-…"   3 minutes ago       Up 3 minutes                            k8s_router_router-1-8m9jn_default_376f264e-6320-11e8-82e8-762eb53c80a7_6
f164bf226107        9b472363b07a                  "/bin/sh -c '/usr/bi…"   3 minutes ago       Up 3 minutes                            k8s_registry_docker-registry-1-7kccw_default_4219b6b3-6320-11e8-82e8-762eb53c80a7_6
...
minishift version
minishift v1.17.0+f974f0c

minishift status
Minishift:  Running
Profile:    minishift
OpenShift:  Running (openshift v3.9.0+46ff3a0-18)
DiskUsage:  11% of 19G