Docker on Mac? Uninstall Tethys2.0 itself?

15 views
Skip to first unread message

Michael S

unread,
Jul 14, 2017, 6:31:41 PM7/14/17
to Tethys Platform
I think I remember someone mantioning that docker would not work on Mac, but I am not sure. When I try I get this error:


"Automatic installation of Docker is not supported on Darwin"

Also, I was wondering if there is a clean way to uninstall tethys itself so I can start from zero.


Thanks,

Michael

Michael S

unread,
Jul 17, 2017, 2:25:16 PM7/17/17
to Tethys Platform
I installed docker community edition for mac manually, but when I try to do tethys docker init to get the geoserver, postgis, 52north images it gives me this error: 

File "/Users/admin/tethys/miniconda/envs/tethys/bin/tethys", line 11, in <module>

    load_entry_point('tethys-platform', 'console_scripts', 'tethys')()

  File "/Users/admin/tethys/src/tethys_apps/cli/__init__.py", line 312, in tethys_command

    args.func(args)

  File "/Users/admin/tethys/src/tethys_apps/cli/__init__.py", line 109, in docker_command

    docker_ip()

  File "/Users/admin/tethys/src/tethys_apps/cli/docker_commands.py", line 1112, in docker_ip

    docker_client = get_docker_client()

  File "/Users/admin/tethys/src/tethys_apps/cli/docker_commands.py", line 186, in get_docker_client

    boot2docker_info = json.loads(p.communicate()[0])

  File "/Users/admin/tethys/miniconda/envs/tethys/lib/python2.7/json/__init__.py", line 339, in loads

    return _default_decoder.decode(s)

  File "/Users/admin/tethys/miniconda/envs/tethys/lib/python2.7/json/decoder.py", line 364, in decode

    obj, end = self.raw_decode(s, idx=_w(s, 0).end())

  File "/Users/admin/tethys/miniconda/envs/tethys/lib/python2.7/json/decoder.py", line 382, in raw_decode

    raise ValueError("No JSON object could be decoded")

ValueError: No JSON object could be decoded


I already tried deleting and installing tethys, but I get the same error.

Michael S

unread,
Jul 18, 2017, 4:14:04 PM7/18/17
to Tethys Platform
So it turns out that I had an older version of Docker in my Mac that was interfering with the Tethys docker installation. It was called boot2docker, I deleted it and tried again and it worked.

Michael


On Friday, July 14, 2017 at 4:31:41 PM UTC-6, Michael S wrote:
Reply all
Reply to author
Forward
0 new messages