I think so. I manage my containers using portainer.
To clarify: jenkins is running, but containers in my build step cannot access docker daemon. docker pull node:9-alpine Warning: failed to get default registry endpoint from daemon (Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?). Using system default: https://index.docker.io/v1/ Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? In order to access the daemon via jenkins, I need to expose docker via rest api?
Обсуждают сегодня