Error response from daemon: Registration: "Wrong username format (it has to match \"^[a-z0-9]{4,30}$\")" Action failed: docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS $DOCKER_URL
I have the environment variables set on my build through the CircleCI UI.
This does not happen when I use docker locally: Docker version 1.9.1, build a34a1d5
So the $DOCKER_URL is the registry address, I believe. When I run the command locally it is working, just not when it runs in my deploy step in DockerCI.
I was able to get it to work by switching the arguments to docker login. Originally I had the -e none as the first argument. After switching it to match the command I copied above, it works!