Skip to content

cog push fails without sudo if user is not in docker group, and fails with sudo if cog login is done without sudo #559

Description

@andreasjansson

If the user hasn't set up Docker to work without sudo, cog push will fail unless you use sudo cog push.

However, cog login still works so the user will probably try

cog login
sudo cog push

This fails because cog login have saved credentials on the user's account, but sudo cog push tries to read credentials from the root user.

Perhaps we should warn the user about this, or at least add it to the documentation.

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

    documentationImprovements or additions to documentationgoPull requests that update Go codepapercutSmall issues that build uptype/bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions