This image is built on Ubuntu 22.04 and comes pre-installed with Docker, AWS CLI.
244
All-in-One Cloud Management Toolkit
This image provides a pre-configured environment with Ubuntu 22.04, Docker, and AWS CLI to streamline container management and cloud automation. Key Features:
Ubuntu 22.04: Lightweight, stable base image.
Docker Engine & Compose: Simplifies container orchestration and multi-container apps.
AWS CLI: Direct access to AWS services for automated cloud tasks.
Essential Utilities: Includes curl, unzip, and other core tools for scripting and troubleshooting.
DevOps & Cloud Management: Manage AWS resources and orchestrate containers efficiently.
CI/CD Pipelines: Use Docker for building, testing, and deploying applications.
Docker-in-Docker (DinD): Run Docker within containers for testing or continuous integration.
Here’s a sample docker-compose.yml configuration:
services:
aws-docker:
container_name: ubuntu-aws-docker
build:
context: .
dockerfile: Dockerfile
restart: always
image: devibhattaraii/ubuntu-aws-docker:v0.1.2
platform: linux/amd64
Start the service with:
docker-compose up -d```
This setup ensures the container runs persistently and restarts automatically upon failure.
## Dockerfile:
```yaml
FROM ubuntu:22.04
RUN apt-get update
RUN apt-get install -y \
ca-certificates \
curl \
gnupg \
lsb-release \
jq \
netcat
RUN mkdir -p /etc/apt/keyrings
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
RUN echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
RUN apt-get update
RUN apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
RUN docker compose version
RUN apt-get install -y curl unzip
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
RUN unzip awscliv2.zip
RUN ./aws/install
CMD ["sleep", "infinity"]
Content type
Image
Digest
sha256:02eef3aff…
Size
449.3 MB
Last updated
about 2 years ago
docker pull devibhattaraii/ubuntu-aws-docker:v0.1.2