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


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 )

  • 2
    Whilst this may theoretically answer the question, it would be preferable 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 at 1:09
  • It seems the Alpine Linux instruction was migrated. The link is updated now. – mebius99 Jan 19 at 18:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.