Bamboo requires you to use an email for a docker push command. This causes problems with the latest version of docker (17.06.0-ce, build 02c1d87). Docker no longer requires an email address while issuing docker login.
Notice the –e email@domain.com.
Example Current: /usr/bin/docker login -u AWS -p ******* -e email@domain.com XXXXXXXXXXXXXXXX.amazonaws.com
unknown shorthand flag: 'e' in -e See 'docker login --help'.
Example working command:
/usr/bin/docker login -u AWS -p ******* XXXXXXXXXXXXXXXX.amazonaws.com
Bamboo requires the use of email in order to perform a push command.
Docker 17.06.0-ce release notes:
https://docs.docker.com/release-notes/docker-ce/#17060-ce-2017-06-28