A simple Ubuntu container with Git and other common utilities installed.
Metadata | Value |
---|---|
Categories | Core, Other |
Image type | Dockerfile |
Published images | mcr.microsoft.com/devcontainers/base:ubuntu |
Available image variants | ubuntu-24.04 / noble, ubuntu-22.04 / jammy, ubuntu-20.04 / focal (full list) |
Published image architecture(s) | x86-64, aarch64/arm64 for ubuntu-22.04 (jammy ) and ubuntu-24.04 (noble ) variants |
Container host OS support | Linux, macOS, Windows |
Container OS | Ubuntu |
Languages, platforms | Any |
See history for information on the contents of published images.
You can directly reference pre-built versions of Dockerfile
by using the image
property in .devcontainer/devcontainer.json
or updating the FROM
statement in your own Dockerfile
to one of the following. An example Dockerfile
is included in this repository.
mcr.microsoft.com/devcontainers/base:ubuntu
(latest LTS release)mcr.microsoft.com/devcontainers/base:ubuntu-24.04
(ornoble
)mcr.microsoft.com/devcontainers/base:ubuntu-22.04
(orjammy
)mcr.microsoft.com/devcontainers/base:ubuntu-20.04
(orfocal
)
Refer to this guide for more details.
You can decide how often you want updates by referencing a semantic version of each image. For example:
mcr.microsoft.com/devcontainers/base:1-jammy
mcr.microsoft.com/devcontainers/base:1.0-jammy
mcr.microsoft.com/devcontainers/base:1.0.0-jammy
See history for information on the contents of each version and here for a complete list of available tags.
Alternatively, you can use the contents of .devcontainer to fully customize your container's contents or to build it for a container host architecture not supported by the image.
Beyond git
, this image / Dockerfile
includes zsh
, Oh My Zsh!, a non-root vscode
user with sudo
access, and a set of common dependencies for development.
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See LICENSE