version: '2.2' services: hdfs1: image: sequenceiq/hadoop-docker:2.7.0 restart: always ports: - 50075:50075 - 50070:50070 entrypoint: /etc/bootstrap.sh -d