pipeline: build: image: docker environment: - DOCKER_HOST=tcp://docker:2375 commands: - sleep 15 - docker build -t localhost:5000/library:latest . - docker push localhost:5000/library:latest services: docker: image: docker:18.09-dind command: ["--storage-driver=vfs"] privileged: true