linuxkit / linuxkit

A toolkit for building secure, portable and lean operating systems for containers
Apache License 2.0
8.27k stars 1.01k forks source link

gcp docs is not working on mac #1617

Closed gianarb closed 7 years ago

gianarb commented 7 years ago

Hello, I am doing some tests and I was following the gpc doc. https://github.com/docker/linuxkit/blob/01f8d50ae9ab802245fac85a2919d591913b2775/docs/gcp.md

You are suggesting to use brew to install gcloud but I can't and in the official repository, I can not found google-cloud-sdk.

http://brewformulas.org/search?utf8=%E2%9C%93&search%5Bterm%5D=google-cloud-sdk&commit=Search

I can update that part with:

wget https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-151.0.0-darwin-x86_64.tar.gz
tar xzvf google-cloud-sdk-151.0.0-darwin-x86_64.tar.gz
./google-cloud-sdk/install.sh

If it sounds good I can update the doc

justincormack commented 7 years ago

I installed from the download not brew. Did anyone else use brew? @dave-tucker?

On 13 Apr 2017 10:16 am, "Gianluca Arbezzano" notifications@github.com wrote:

Hello, I am doing some tests and I was following the gpc doc. https://github.com/docker/linuxkit/blob/01f8d50ae9ab802245fac85a2919d5 91913b2775/docs/gcp.md

You are suggesting to use brew to install gcloud but I can't and in the official repository, I can not found google-cloud-sdk.

http://brewformulas.org/search?utf8=%E2%9C%93&search% 5Bterm%5D=google-cloud-sdk&commit=Search

I can update that part with:

wget https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-151.0.0-darwin-x86_64.tar.gz tar xzvf google-cloud-sdk-151.0.0-darwin-x86_64.tar.gz ./google-cloud-sdk/install.sh

If it sounds good I can update the doc

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/docker/linuxkit/issues/1617, or mute the thread https://github.com/notifications/unsubscribe-auth/AAdcPHmouvV5VxIoFrj23RRw80GhYCj4ks5rvef3gaJpZM4M8c1v .

justincormack commented 7 years ago

It's also possible i wrote the doc and just assumed it would be available in brew without checking! So yes please update...

On 13 Apr 2017 10:21 am, "Justin Cormack" notifications@github.com wrote:

I installed from the download not brew. Did anyone else use brew? @dave-tucker?

On 13 Apr 2017 10:16 am, "Gianluca Arbezzano" notifications@github.com wrote:

Hello, I am doing some tests and I was following the gpc doc. https://github.com/docker/linuxkit/blob/01f8d50ae9ab802245fac85a2919d5 91913b2775/docs/gcp.md

You are suggesting to use brew to install gcloud but I can't and in the official repository, I can not found google-cloud-sdk.

http://brewformulas.org/search?utf8=%E2%9C%93&search% 5Bterm%5D=google-cloud-sdk&commit=Search

I can update that part with:

wget https://dl.google.com/dl/cloudsdk/channels/rapid/ downloads/google-cloud-sdk-151.0.0-darwin-x86_64.tar.gz tar xzvf google-cloud-sdk-151.0.0-darwin-x86_64.tar.gz ./google-cloud-sdk/install.sh

If it sounds good I can update the doc

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/docker/linuxkit/issues/1617, or mute the thread https://github.com/notifications/unsubscribe-auth/ AAdcPHmouvV5VxIoFrj23RRw80GhYCj4ks5rvef3gaJpZM4M8c1v .

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/docker/linuxkit/issues/1617#issuecomment-293837926, or mute the thread https://github.com/notifications/unsubscribe-auth/AAdcPLLI-rojP_c0xrhSKaQ_QF6qZPVdks5rvekZgaJpZM4M8c1v .

gianarb commented 7 years ago

Yes I tried on my mac and I have a pretty clean brew setup, I don't use it usually. :) I am doing

rn commented 7 years ago

I'm pretty sure I installed with brew. But that basically just installs the installer. The gcloud utility seems to be self updating

dave-tucker commented 7 years ago

It's a cask now. see: https://caskroom.github.io/

brew tap caskroom/cask
brew cask install google-cloud-sdk
gianarb commented 7 years ago

Yes I was just looking https://github.com/caskroom/homebrew-cask/blob/master/Casks/google-cloud-sdk.rb

Let me know if you are happy to use brew or not 👍 in both cases we need to update the doc

dave-tucker commented 7 years ago

Probably best to just link to https://cloud.google.com/sdk/ It has installation instructions for each platform

justincormack commented 7 years ago

I think it's best to list all the ways to install, and a link to the official installer is good for all platforms.

On 13 Apr 2017 10:30 am, "Gianluca Arbezzano" notifications@github.com wrote:

Yes I was just looking https://github.com/caskroom/homebrew-cask/blob/master/ Casks/google-cloud-sdk.rb

Let me know if you are happy to use brew or not 👍 in both we need to update the doc

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/docker/linuxkit/issues/1617#issuecomment-293839941, or mute the thread https://github.com/notifications/unsubscribe-auth/AAdcPGmNTcrcvtnCpJ0V1LLIYg8beh5Nks5rves2gaJpZM4M8c1v .