mnyon-grandkru / knowledgebase

An issue tracker of error messages discovered while developing as well as their solution.
https://github.com/mnyon-grandkru/knowledgebase/issues
MIT License
2 stars 0 forks source link

zsh command is too long when running ECR command #84

Closed trystant closed 1 year ago

trystant commented 3 years ago

When running "$(aws ecr get-login --region us-west-2 --no-include-email)" from the command line, the error returned is:

zsh: command too long: docker login -u AWS -p REALLY_LONG_PASSWORD_THAT_GIVES_THE_COMMAND_A_LENGTH_OF_2422_CHARACTERS https://ECR_HOST.amazonaws.com
mnyon-grandkru commented 2 years ago

So, reading through this StackOverflow, it looks like my overall ENV variables may be too high, so my next step on this is to remove environment variables that aren't needed and see if this reduces things.

mnyon-grandkru commented 2 years ago

Step: Determine the current env size and determine how to reduce it on MacBook Pro

mnyon-grandkru commented 1 year ago

I'm closing this as I've only run into this in relation to my old job.