You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm going to throw a PR together for this, but wanted to log it. The Triton setup script assumes a certain API endpoint format (with datacenter at the beginning of the URL), which may not be the case for many non-Joyent datacenters.
For example:
$ ./setup.sh
Error! The Triton CLI configuration does not match the Docker CLI configuration.
Docker user: jay.schmidt
Triton user: jay.schmidt
Docker data center: docker
Triton data center: cloudapi
In my case, the DC is the secondary item in the URL (due to using CMON). One possible fix is to just have a flag to ignore this check; a second fix is to actually query cloudapi/docker to check the datacenter. I'll work on this later this month.
Jay
The text was updated successfully, but these errors were encountered:
qdzlug
changed the title
Account for Differening CloudAPI/Docker Endpoints
Account for Differing CloudAPI/Docker Endpoints
Dec 14, 2017
Hi,
I'm going to throw a PR together for this, but wanted to log it. The Triton setup script assumes a certain API endpoint format (with datacenter at the beginning of the URL), which may not be the case for many non-Joyent datacenters.
For example:
With a config of:
In my case, the DC is the secondary item in the URL (due to using CMON). One possible fix is to just have a flag to ignore this check; a second fix is to actually query cloudapi/docker to check the datacenter. I'll work on this later this month.
Jay
The text was updated successfully, but these errors were encountered: