Skip to content

docker: Put cockroach executable in PATH #44189

@andy-kimball

Description

@andy-kimball

We can slightly improve the usability of our Docker image by putting the path to the cockroach binary directory into $PATH. Currently our docs show the following command:

docker exec -it roach1 ./cockroach sql --insecure

The need for the leading ./ is surprising when using a docker image. As a contrast, the postgres image puts the location of various executables (like postgres and psql) into the path.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions