Using the AL2023 base container image - Amazon Linux 2023
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Using the AL2023 base container image

The AL2023 container image is built from the same software components that are included in the AL2023 AMI. It's available for use in any environment as a base image for Docker workloads. If you're using the Amazon Linux AMI for applications in Amazon Elastic Compute Cloud (Amazon EC2), you can containerize your applications with the Amazon Linux container image.

Use the Amazon Linux container image in your local development environment and then push your application to Amazon using Amazon Elastic Container Service (Amazon ECS). For more information, see Using Amazon ECR images with Amazon ECS in the Amazon Elastic Container Registry User Guide.

The Amazon Linux container image is available . You can provide feedback for AL2023 through your designated Amazon representative or by filing an issue in the amazon-linux-2023 repo on GitHub.

To pull the AL2023 container image from Docker Hub
  1. Pull the AL2023 container image using the docker pull command.

    $ docker pull amazonlinux:2023
  2. (Optional) Run the container locally.

    $ docker run -it amazonlinux:2023 /bin/bash
    Note

    The container image of AL2023 uses only the dnf package manager to install software packages. This means that there's no amazon-linux-extras or equivalent command to use for additional software.