Hi YossiDataYoga
Thanks for your reply on this. As you mentioned, we should select "custom image - azure compute gallery" when creating a pool with custom image.
For your question about "No Azure compute galleries have replicas in current region", it could be caused by multiple kinds of issues. It's difficult to just help you on this by discussing on chat here. I would suggest to create a support ticket so that I or my colleague can further assist and see if anything is going wrong there.
For your second question about the imageReference and containerConfiguration, it's a different thing. You can understand like the container is just a Virtual Machine which we create based on one existing machine. In order to be able to create this kind of VM (container), the existing machine (we call it host machine) must be installed with required environment, such as Docker. As documented Pool - Create - REST API (Azure Batch Management) | Microsoft Learn, the imageReference is the configuration of OS image used for host machine, and the containerConfiguration is used by host machine to create container. They are not in same purpose. Imagine that you have a custom image, based on Windows Server 2019, installed with Docker. If we use this custom image to create a pool, it can also be used without creating any container inside it, just as a normal Windows server 2019 OS image.