Docker for AWS and Azure Editions are built using open source software.
Docker for AWS and Azure Editions distribute some components that are licensed under the GNU General Public License. You can download the source for these components here.
The sources for qemu-img can be obtained here. The sources for the gettext and glib libraries that qemu-img requires were obtained from Homebrew and may be retrieved using brew install --build-from-source gettext glib
.