Skip to content

/usr/local/bin/docker: No such file or directory #380

@jakommo

Description

@jakommo

[0,1,2,1]
Got a diag and the files docker-ps-all.txt and docker-info.txt contained bash: /usr/local/bin/docker: No such file or directory.
Looking at

docker-executable-location: "/usr/local/bin/"
docker-global:
docker-info: "bash -c '/usr/local/bin/docker info'"
docker-ps-all: "bash -c '/usr/local/bin/docker ps -a --no-trunc'"
I wonder if we use a fixed path (/usr/local/bin/) for the docker binary?

On Ubuntu 18.04 it's /usr/bin/docker and on CentOS 7 it's /bin/docker and the call won't work with the fixed path.

I did a local test and it resulted in the same issue, but the other files like docker-inspect-8df4464160be.txt worked, so it seems we are using different path to the docker binary?

Proposing to use something like $(which docker) for a none fixed path.

Metadata

Metadata

Assignees

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