version: '2' services: livy: hostname: livy container_name: livy restart: always image: registry.cn-hangzhou.aliyuncs.com/sxtest/livy-0.8:txprod0 privileged: true ipc: host tty: true ports: - '31100-31110:31100-31110' - '8998:8998' extra_hosts: - 'YILIGKS01:10.150.4.25' environment: LIVY_SERVER_JAVA_OPTS: '-Dlivy.rsc.launcher.address=172.23.21.89' # volumes: # - ./:/workspace