AOT Compiler to Shrink Docker Container

Is using an AOT compiler such as GCj or Excelsior Jet appropriate if we’re aiming to shrink the size of a Docker container?

The largest part of the container is the JRE, and we’re looking for ways to trim this down. Our microservices are kb in size, it seems odd that we’re having to deploy 110MB containers.

  • Set values on image build for a Docker container
  • docker ubuntu container filesystem
  • What tool can manage Docker container to start in order?
  • Where are containers located in the host's file system?
  • what is the <my_namespace> in the command ic build -t<my_namespace>/myimage
  • kubernetes and debugging it in general
  • How to create named and latest tag in Docker?
  • Bitbucket Pipelines. Cannot specify windowsservercore docker image
  • pull from private docker repo in msbuild
  • webdriver container in circleci for testing
  • Do pushes to docker hub always increment the “pull” count?
  • Docker error response from daemon no such file or directory while docker load
  • One Solution collect form web for “AOT Compiler to Shrink Docker Container”

    From version 11.3 onwards, Excelsior JET supports Compact Profiles, which may help.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.