Google Cloud VM Image to docker image

后端 未结 2 1488
暖寄归人
暖寄归人 2021-01-28 15:39

I have a Google Cloud VM that installed with my application. The installation step is completed and I:

  1. Turned off the VM instance.
  2. Exported the disk to d
2条回答
  •  爱一瞬间的悲伤
    2021-01-28 15:56

    No, this is not possible without a tool to extract your application out of the virtual machine image and recreate in a container. To the best of my knowledge, there is no general-purpose tool that exists.

    There is a big difference between a container image and a virtual machine image. Container images do not have an operating system, virtual machine images are a complete operating system and device data. The two conceptually are similar, but extremely different in how they are implemented at the software and hardware level.

提交回复
热议问题