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

Open
@andreasjansson

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationtype/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions