Sign inSign up

fguerra215/amazonlinux2-defaultuser

By fguerra215

•Updated over 3 years ago

Amazon Linux 2, but with the default ec2-user created & configured

Image
0

1.1K

fguerra215/amazonlinux2-defaultuser repository overview

⁠AWS EC2-like Environment Docker Image

⁠Table of Contents

⁠Overview

This repository contains a Docker image built from an Amazon Linux-based Dockerfile that replicates the default ec2-user environment found on AWS instances. The Docker image is designed to provide an environment that closely resembles the AWS EC2 instance setup, including user, group, and permissions configurations.

⁠Features

  • Built on the latest version of Amazon Linux
  • Sets up the ec2-user with the same user, group, and permission settings as on AWS
  • Includes essential packages such as zip, git, tar, zsh, sudo
  • Enables additional extras: vim, awscli1, docker
  • Installs Neofetch for system information display
  • Configures oh-my-zsh for a customized shell experience
  • Provides Vim directories and files for enhanced editing
  • Includes AWS directories and files for AWS CLI configurations

⁠Usage

This Docker image is particularly useful for development and testing scenarios where you want to replicate the default ec2-user environment of AWS EC2 instances. It allows you to work in a consistent environment similar to AWS, ensuring compatibility and familiarity.

⁠Pull the Docker Image

You can pull the image from Docker Hub using the following command:

docker pull fguerra215/amazonlinux2-defaultuser
⁠Run a Container

To run a container using this image, use the following command:

docker run -it fguerra215/amazonlinux2-defaultuser
⁠Customization

The Dockerfile in this repository can be modified to include additional packages or configurations according to your specific needs. Feel free to adapt it to suit your requirements.

⁠License
MIT License

Copyright (c) 2023 fguerra215

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Tag summary

Content type

Image

Digest

sha256:972b1b0ed…

Size

275.4 MB

Last updated

over 3 years ago

docker pull fguerra215/amazonlinux2-defaultuser