Skip to content

Document cog debug command #1349

Open
Open
@zeke

Description

@zeke

Cog has a debug command that outputs the Dockerfile for the current cog model, but it's not documented.

cog debug > Dockerfile

It's not available in help:

$ cog --help
Containers for machine learning.
...
Available Commands:
  build       Build an image from cog.yaml
  completion  Generate the autocompletion script for the specified shell
  help        Help about any command
  init        Configure your project for use with Cog
  login       Log in to Replicate Docker registry
  predict     Run a prediction
  push        Build and push model in current directory to a Docker registry
  run         Run a command inside a Docker environment

This command is mentioned in passing in the getting started guide, but is not present in any reference documentation.

See also:

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions