This commit is contained in:
parent
c27751dd93
commit
efd624bd7d
@ -2,7 +2,14 @@
|
|||||||
build:
|
build:
|
||||||
image: docker
|
image: docker
|
||||||
environment:
|
environment:
|
||||||
- DOCKER_HOST=unix:///var/run/docker.sock
|
- DOCKER_HOST=tcp://docker:2375
|
||||||
commands:
|
commands:
|
||||||
- docker build -t localhost:5000/library:latest .
|
- sleep 5
|
||||||
- docker ps
|
- docker build -t registry.yetaga.in/library:latest .
|
||||||
|
- docker push registry.yetaga.in/library:latest
|
||||||
|
|
||||||
|
services:
|
||||||
|
docker:
|
||||||
|
image: docker:18.09-dind
|
||||||
|
command: ["--storage-driver=vfs"]
|
||||||
|
privileged: true
|
||||||
|
Loading…
Reference in New Issue
Block a user