Amazon Linux 2, but with the default ec2-user created & configured
1.1K
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.
ec2-user with the same user, group, and permission settings as on AWSThis 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.
You can pull the image from Docker Hub using the following command:
docker pull fguerra215/amazonlinux2-defaultuser
To run a container using this image, use the following command:
docker run -it fguerra215/amazonlinux2-defaultuser
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.
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.
Content type
Image
Digest
sha256:972b1b0ed…
Size
275.4 MB
Last updated
over 3 years ago
docker pull fguerra215/amazonlinux2-defaultuser