Skip to content

ekreative/toolbox-docker

Repository files navigation

Toolbox

A small image with kubectl and some related tools

Tags available

  • latest, helm-3
  • helm-2 (not supported)

Tools

Use as ecr-login

Created wrapper script /usr/bin/local/docker-credential-ecr-login

#!/bin/bash
docker run \
  --rm -i \
  -v /etc/ssl/certs:/etc/ssl/certs \
  -e AWS_ACCESS_KEY_ID \
  -e AWS_SECRET_ACCESS_KEY \
  -e AWS_SESSION_TOKEN \
  ekreative/toolbox \
  docker-credential-ecr-login "$@"

Add to ~/.docker/config.json

{
  "credHelpers": {
    "${account}.dkr.ecr.${region}.amazonaws.com": "ecr-login"
  }
}