Developer
Documentation
Login
Home
Home
Images
Images
Developer
Documentation
Login
Home
Home
Images
Images
  • ubuntu-2004
  • Getting Started
  • How This Image Works
  • Image Tags
  1. Machine Images
  2. ubuntu-2004

ubuntu-2004

Sections

Our ubuntu machine image is the default for machine pipelines and remote Docker instances within CircleCI and is built with continuous integration in mind. This image is a standalone Ubuntu 20.04 virtual machine.

This image contains the minimum tools required to operate a build on CircleCI (such as git) as well as extremely popular and useful tools in CircleCI (such as docker).

Getting Started

This image can be used with the CircleCI machine executor. For example:

1 2 3 4 5 6 7 8 9 jobs: build: machine: - image: ubuntu-2004:202111-01 steps: - checkout # Whatever you want to do - run: sudo apt-get update && sudo apt-get install -y cowsay - run: cowsay Continuous Integration Rocks!

In the above example, the CircleCI Ubuntu image is used as the virtual machine image. More specifically, the tag 202111-01 indicates the dated version of the base image. See how tags work below for more information.

How This Image Works

This image contains the Ubuntu Linux operating system and everything needed to run most builds on CircleCI. This includes but is not limited to:

  • Git
  • Docker and Docker Compose
  • The build-essential package containing compiling tools
  • jq
  • curl, ssh, and much more

Tagging Scheme

Images in this family are tagged by their release date as YYYYMM-DD.

Image Tags

  • 202111-01
  • 202107-02
  • 202104-01
  • 202101-01
  • 202010-01

Sign up to get the latest Developer Hub news delivered to your inbox

By submitting this form, you are agreeing to our

Terms of Use
and .