Sign inSign up

bearengineer/awscli-eksctl

By bearengineer

•Updated almost 7 years ago

Docker container with awscli and eksctl

Image
0

491

bearengineer/awscli-eksctl repository overview

⁠awscli-eksctl

⁠What is awscli?

Awscli is the Amazon web services command line interface.

Overview of awscli⁠

⁠What is eksctl?

eksctl is a simple CLI tool for creating clusters on EKS - Amazon’s new managed Kubernetes service for EC2.

Overview of eksctl⁠

⁠TL;DR;

$ docker run -ti --rm bearengineer/awscli-eksctl
$ docker run -ti -e 'AWS_ACCESS_KEY_ID=********************' -e 'AWS_SECRET_ACCESS_KEY=****************************************' --rm bearengineer/awscli-eksctl eksctl get clusters
$ docker run -ti -v '/Users/bearengineer/.aws:/root/.aws' --rm bearengineer/awscli-eksctl eksctl get clusters

Subscribe to project updates by watching the bearengineer/awscli-eksctl GitHub repo⁠.

⁠Get this image

The recommended way to get the Bear Engineer awscli-eksctl Docker Image is to pull the prebuilt image from the Docker Hub Registry⁠.

$ docker pull bearengineer/awscli-eksctl:latest

To use a specific version, you can pull a versioned tag. You can view the list of available versions⁠ in the Docker Hub Registry.

$ docker pull bearengineer/awscli-eksctl:[TAG]

If you wish, you can also build the image yourself.

$ docker build -t bearengineer/awscli-eksctl:latest 'https://github.com/bearengineer/awscli-eksctl.git#master'

⁠Configuration

⁠Running commands

To run commands inside this container you can use docker run, for example to execute eksctl --version you can follow the example below:

$ docker run --rm --name eksctl bearengineer/awscli-eksctl:latest -- eksctl version

Consult the eksctl Reference Documentation⁠ or the AWS CLI Reference Documentation⁠ to find the completed list of commands available.

⁠AWS Credentials

AWS credentials can either be passed by environment variables, or by mounting a volume with aws credentials file under /root/.aws.

⁠Environment variables
$ docker run -ti -e 'AWS_ACCESS_KEY_ID=********************' -e 'AWS_SECRET_ACCESS_KEY=****************************************' --rm bearengineer/awscli-eksctl aws s3 ls
⁠AWS directory
docker run -ti -v '/Users/bearengineer/.aws:/root/.aws' --rm bearengineer/awscli-eksctl aws s3

⁠Contributing

We'd love for you to contribute to this container. You can request new features by creating an issue⁠, or submit a pull request⁠ with your contribution.

⁠Issues

If you encountered a problem running this container, you can file an issue⁠. For us to provide better support, be sure to include the following information in your issue:

  • Host OS and version
  • Docker version (docker version)
  • Output of docker info
  • Version of this container
  • The command you used to run the container, and any relevant output you saw (masking any sensitive information)

⁠License

Copyright (c) 2019 Bear Engineer. All rights reserved.

This work is licensed under the terms of the MIT license.
For a copy, see https://opensource.org/licenses/MIT⁠.

Tag summary

Content type

Image

Digest

Size

58.2 MB

Last updated

almost 7 years ago

docker pull bearengineer/awscli-eksctl