On 8/29/19 3:30 PM, Todd Tannenbaum wrote: > On 8/29/2019 2:40 PM, Dimitri Maziuk wrote: ... > The test HTCondor uses to decide if HasDocker should be True or False is > to to test if spawning 'docker info' is successful as user condor That can't work as non-root user unless docker install is b0rk3d as you say. On both hosts `docker info` works as root and doesn't as condor: Centos 6 shell: > sh-4.1$ docker info > Get http:///var/run/docker.sock/v1.19/info: dial unix /var/run/docker.sock: permission denied. Are you trying to connect to a TLS-enabled daemon without TLS? Centos 6 StarterLog: > 08/29/19 13:23:29 (pid:279227) '/usr/bin/docker info' did not exit successfully (code 256); the first line of output was 'WARNING: Error loading config file:stat /root/.docker/config.json: permission denied'. Centos 7 shell: > -sh-4.2$ docker info > Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.26/info: dial unix /var/run/docker.sock: connect: permission denied Centos 7 StarterLog: > 08/28/19 17:59:40 (pid:24245) DockerProc::Version() found version 'Docker version 1.13.1, build 7f2769b/1.13.1' Another difference is that docker version is 1.7 on centos 6 (last available) and 1.13 on 7. [systemd] > Or just decide to take some systemd antihistamines and make friends with > it since Centos, Ubuntu, Debian, etc, have all drank the kool-aid, so it > will likely be around a long time :) Personally I think kool-aid and long time is a bit of a mixed metaphor, but then again: confusion is one of the main side-effects of antihistamines so whaddya expect. ;) -- Dimitri Maziuk Programmer/sysadmin BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu
Attachment:
signature.asc
Description: OpenPGP digital signature