Skip to content

docker login -p throws an error #6

Description

@psgivens

docker login -u ${DOCKER_USER} -p ${DOCKER_PASS};

It looks like docker depricated the use of the -p flag. Changing the line to the following fixed it for me.
echo ${DOCKER_PASS} | docker login -u ${DOCKER_USER} --password-stdin;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions