Docker compose doesn't work correctly with yaml config
Recently I've added the following command in command section of the docker-compose config file: livy: image: ecp/spark:${TAG:-latest} container_name: spark-livy ports: - "${LIVY_PORT:-8998}:8998" command: ["sh", "-c", "/opt/bitnami/livy/bin/livy-server && sed -i 's/r$//' /opt/bitnami/livy/conf/livy-env.sh && sed -i 's/r$//' /opt/bitnami/livy/conf/livy.conf && sed -i 's/r$//'…