Prepare Docker image for Arm embedded development

Who is this for?

This is an introductory topic for embedded software developers new to Docker.

What will you learn?

Upon completion of this Learning Path, you will be able to:

  • Create and understand a Dockerfile
  • Build Docker image
  • Test the image

Prerequisites

Before starting, you will need the following:

    Summary

    AI-assisted

    This summary was drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.

    Close
    ?
    You’ll create a containerized Arm embedded development environment with Docker. First, you’ll prepare an Ubuntu-based Dockerfile containing Arm Compiler for Embedded and Fixed Virtual Platforms (FVPs). Then, you’ll build the image and verify that the tools launch. You’ll finish with a reusable environment for compiling Arm applications and running targets on FVPs without installing tools directly on the host.

    Frequently asked questions

    AI-assisted

    These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.

    Close
    ?
    Which base operating system should the Dockerfile use?
    Use Ubuntu as the base for the Docker image. The host can be Windows or a different Linux distribution.
    Do I need to use sudo for Docker commands on Linux?
    Many Linux setups require sudo because the Docker daemon runs as root. If you see a permission error, prepend sudo to the Docker command.
    What files do I need to copy into the image before building?
    Copy the installation packages you downloaded for Arm Compiler for Embedded and the FVPs. Make sure the Dockerfile COPY paths match where those files are located.
    How do I know the image is ready to use?
    Start a container from the image and run the compiler and FVP executables. Confirm each executable launches and reports version information. If both start without errors, your environment is set up correctly.
    Can I follow these steps on a Windows host?
    Yes. The container runs Ubuntu, and the host can be Windows or Linux. Install the appropriate Docker edition for your platform before starting.
    Next