[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.
[0,1,2,1]
Got a diag and the files
docker-ps-all.txtanddocker-info.txtcontainedbash: /usr/local/bin/docker: No such file or directory.Looking at
support-diagnostics/src/main/resources/diags.yml
Lines 107 to 111 in fbcfd88
/usr/local/bin/) for the docker binary?On Ubuntu 18.04 it's
/usr/bin/dockerand on CentOS 7 it's/bin/dockerand 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.txtworked, so it seems we are using different path to the docker binary?Proposing to use something like
$(which docker)for a none fixed path.