By default Ubuntu will create a file called 00-installer-config.yaml under /etc/netplan/ you can ...
I recommend setting this up on a dedicated VM or device and not in Docker, but that is up to you....