Skip to content

Docker quickstart can be confusing with docker run vs. docker start #6249

@JohannesGaessler

Description

@JohannesGaessler

Is your feature request related to a problem? Please describe.

The quickstart suggests running docker containers via e.g.:

docker run -ti --name local-ai -p 8080:8080 localai/localai:latest

On subsequent executions of this command it will fail due to a container with name local-ai already existing. However, this container can still be run via docker start -i local-ai.

Describe the solution you'd like

Briefly explain in the documentation that docker run creates and runs a new container and that docker start runs a preexisting container.

Describe alternatives you've considered

  • RTFM.
  • Don't give the container a name but then you have multiple ones lying around.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions