0

How to create GCE image with Alpine Linux that can be used to create GCE VMs?

1 Answers1

1

In order to work properly in GCE and interact with the execution environment, a guest OS should be pre-configured appropriately. Usually it is done by Google or Linux vendors in the process of preparing the system image.

Compute Engine > Doc > Guest environment > Supported operating systems

Compute Engine > Doc > Guest environment > The Linux guest environment

Since Alpine Linux is not listed among either the Public images provided by Google or the Community supported images, it is up-to-you how to prepare the Alpine Linux to run in GCE.

There is an instruction out there you can follow:

Setting up Alpine Linux in Google Cloud Platform ( GCP )

mebius99
  • 396
  • 1
  • 6
  • 2
    Whilst this may theoretically answer the question, [it would be preferable](http://meta.stackoverflow.com/q/8259) to include the essential parts of the answer here, and provide the link for reference. – Gerald Schneider May 27 '20 at 11:45
  • Thank you for the answer, I was hoping that there are some automation that I can use to create Alpine GCE image, i.e. - pass to it Alpine version and it produces GCE-compatible image. – Igor Dvorzhak May 27 '20 at 15:13
  • Now your link to the tutorial is dead. – Michael Hampton Jan 18 '21 at 01:09
  • It seems the Alpine Linux instruction was migrated. The link is updated now. – mebius99 Jan 19 '21 at 18:43