Skip to content

Warn if docker is not available due to permissions or installation is missing #348

Description

@zknz

On Ubuntu I noticed cog failed with a vague message when attempting to use predict from one of the projects on replicate. There could be a check in cog to make sure docker is installed and the current user is able to execute commands. In my case I needed to run cog as root since docker was only accessible as root at that time.

The errors shown to the user with the latest version at the time: v0.0.18, were: Failed to determine if r8.im/... exists: exit status 1 as it fell back to file system checks, and when --debug was used, the docker inspect failed without any further messaging.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions