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.

  • How to perform checkpoint and restore of docker containers across two hosts?
  • How do you deliver your application using the concept of containers (Docker containers)
  • run rscript on local in a docker image
  • docker linked container all ports closed
  • Docker: Jenkins container can't access internet on QNAP device
  • Sonatype Nexus3 docker image - How to setup an internal docker repository
  • mysql in docker container hangs
  • Is there a CentOS equivalent of the official ruby:2.2.0 docker image?
  • Docker swarm nodes not showing up after restart
  • Improving performance of inserting into Mongo from ActiveMQ
  • ecs-cli up command - attaching own instance profile
  • How to have 2 angular based apps which are dockerised running on same ubuntu machine
  • 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.