Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

Toolbox 1.8.1c fails to install in Mac OSX 10.10.5 #138

Closed
datmark opened this issue Sep 1, 2015 · 4 comments
Closed

Toolbox 1.8.1c fails to install in Mac OSX 10.10.5 #138

datmark opened this issue Sep 1, 2015 · 4 comments

Comments

@datmark
Copy link

datmark commented Sep 1, 2015

I am having issues trying to get install Toolbox 1.8.1c.

I get this summary at the end of the installation:
screen shot 2015-09-01 at 9 42 56 am

.. and when I run it on the command line

installer: Package name is Docker Toolbox
installer: Upgrading at base path /
installer: The upgrade failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.)

and I get this when running the Docker Terminal...

open /Users/user/.docker/machine/machines/default/config.json: permission denied
docker is configured to use the default machine with IP 
For help getting started, check out the docs at https://docs.docker.com

open /Users/user/.docker/machine/machines/default/config.json: permission denied

and running the script found in:

/Applications/Docker/Docker Quickstart Terminal.app/Contents/Resources/Scripts

... completes but i get:

                        ##         .
                  ## ## ##        ==
               ## ## ## ## ##    ===
           /"""""""""""""""""\___/ ===
      ~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ /  ===- ~~~
           \______ o           __/
             \    \         __/
              \____\_______/


docker is configured to use the default machine with IP 192.168.99.100
For help getting started, check out the docs at https://docs.docker.com

$ docker info
Get http:///var/run/docker.sock/v1.20/info: dial unix /var/run/docker.sock: no such file or directory.
* Are you trying to connect to a TLS-enabled daemon without TLS?
* Is your docker daemon up and running?

I am not sure what else I could do... please help!

@v1k0d3n
Copy link

v1k0d3n commented Sep 2, 2015

sudo docker info 

should produce better results ;)

looks like docker is installed as root, which means all containers are running as root (after it's installed) now that i realize that, it concerns me a little. i changed the directory of ~./docker to my user and the installer changed it back to root. see #140.

@v1k0d3n
Copy link

v1k0d3n commented Sep 2, 2015

try the work-around in #140 and let me know if it works for you (until docker updates or provides more information on the installer).

@datmark
Copy link
Author

datmark commented Sep 2, 2015

Unfortunately, the workaround you provided in #140 did not work for my situation, which is weird...

$ docker-machine create -d virtualbox default
Creating CA: /Users/user/.docker/machine/certs/ca.pem
Creating client certificate: /Users/user/.docker/machine/certs/cert.pem
Image cache does not exist, creating it at /Users/user/.docker/machine/cache...
No default boot2docker iso found locally, downloading the latest release...
Downloading https://github.com/boot2docker/boot2docker/releases/download/v1.8.1/boot2docker.iso to /Users/user/.docker/machine/cache/boot2docker.iso...
Creating VirtualBox VM...
Creating SSH key...
Starting VirtualBox VM...
Starting VM...
Error creating machine: Maximum number of retries (60) exceeded
You will want to check the provider to make sure the machine and associated resources were properly removed.

The result above is the same in a downloaded or a brew-installed docker-machine (both v0.4.1) but...

screen shot 2015-09-02 at 5 24 42 pm
and
screen shot 2015-09-02 at 5 26 06 pm

I hope these helps someone...

@datmark
Copy link
Author

datmark commented Sep 2, 2015

After so many installs/uninstalls/deleting folders I was finally able to successfully install docker (and the toolbox).

How I got it to work this time...

  1. Deleted anything in the system that mentions docker.
  2. Installed toolbox 1.8.1c.
  3. Ran the Docker Quickstart Terminal (which failed).
  4. Deleted ~/.docker
  5. Installed docker using
$ docker-machine create -d virtualbox default

I am not sure how it started working again...

@datmark datmark closed this as completed Sep 2, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants