Is virtualization capability a requirement for a windows machine to build a windows docker image?

28 Views Asked by At

Questions

  1. Do you need virtualization to run docker build for a windows docker image? If so can you please share the docs?
  2. Does the Github hosted windows runner support virtualization? Or does it just have docker installed?

Any references to documentation would be much appreciated :)

Context

  • I would like use a github action to build a windows image and push it to ecr
  • I have successfully been able to do this using the Github hosted windows runner
  • I would like to create a self hosted Github Runner for this action
  • I know hyper v or some sort of virtualization capability is required for running a windows docker container, but I cannot find information on whether or not that is required for building a windows container
  • info: it seems that at one point the windows github runner did not support any container actions but the runner now has docker installed: https://github.com/actions/runner/issues/904
  • I am trying to determine what I need to provision for my self hosted windows github runner to be able to build a windows docker image.
0

There are 0 best solutions below