pipeline: build: image: docker environment: - DOCKER_HOST=tcp://docker:2376 commands: - docker --tls=false build -t localhost:5000/library:latest . - docker push localhost:5000/library:latest services: docker: image: docker:dind command: ["--storage-driver=vfs", "--tls=false"] privileged: true