|
@@ -99,7 +99,6 @@ pipeline {
|
|
|
if [ !$(docker service ps -q ${DOCKER_IMAGE}) ];then
|
|
|
docker service create --replicas 1 \
|
|
|
--mount type=bind,source=/var/run/docker.sock,destination=/var/run/docker.sock \
|
|
|
-
|
|
|
--name ${SERVICE_NAME} ${DOCKER_REGISTRY}/${SERVICE_IMAGE}:1 -p 1194:1194 \
|
|
|
--privileged --security-opt seccomp=unconfined \
|
|
|
--tmpfs /run --tmpfs /run/lock -v /sys/fs/cgroup:/sys/fs/cgroup:ro \
|