Try to deploy docker container #2
This commit is contained in:
parent
50eb555acd
commit
f552b0167f
@ -41,4 +41,11 @@ steps:
|
|||||||
# Deploy image as container
|
# Deploy image as container
|
||||||
- docker run -d --net $NET --ip $IP --hostname $NAME --restart unless-stopped $REPO
|
- docker run -d --net $NET --ip $IP --hostname $NAME --restart unless-stopped $REPO
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- name: dockersock
|
||||||
|
path: /var/run/docker.sock
|
||||||
|
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: dockersock
|
||||||
|
host:
|
||||||
|
path: /var/run/docker.sock
|
||||||
|
Loading…
Reference in New Issue
Block a user