Amazon Linux 2 Docker container.
latest
: Latest successful build of the Amazon Linux 2 container.
This image is built on Docker Hub automatically any time the upstream OS container is rebuilt, and any time a commit is made or merged to the master
branch. But if you need to build the image on your own locally, do the following:
- Install Docker.
- Clone this repo locally on your machine.
cd
into the root repo directory.- Run
docker build -t amazonlinux2-base .
- Install Docker.
- Pull this image from Docker Hub:
docker pull pedigreetechnologies/docker-amazonlinux2-base:latest
(or use the image you built earlier, e.g.amazonlinux2-ansible:latest
). - Run a container from the image:
docker run --detach --privileged pedigreetechnologies/docker-amazonlinux2-base:latest
Originally created in 2018 by Jeff Geerling, author of Ansible for DevOps. Adapted for internal use at Pedigree Techologies in 2022