Can I use packer to build my big windows container images or not?

Your docs are unclear to me: https://packer.io/docs/builders/docker.html

At the top of the doc it says:

Please note: Packer does not yet have support for Windows containers.

But then on that same page it says:

Docker For Windows
You should be able to run docker builds against both linux and Windows containers…

This is what I would hope to achieve with packer:
I have huge (20gig) windows containers. Building and running these locally is almost impossible. So, I stand up an EC2 instance with docker on it, remote into it, build, run, poke, push it from there. This is a pain for me to do manually.

Can I use packer to automate this? So packer would provision a windows EC2 instance with docker on it, build the container, maybe run tests to validate it, then push to ECR?

Never got a response to this question. is it possible to use packer to build windows containers on ec2?

I guess I could build a windows Ami with packer and just run scripts on the instance that build and push to ecr but that’s doesn’t seem right

Is there support for using windows ec2 as a docker server for building images?

I think those docs are out of date – we do support windows containers now. I’ll remove the confusing line.

I’ve never tried to run the docker builder on a windows ec2 vm but theoretically it should work.