version: '3' services: master: build: context: . dockerfile: Dockerfile # env_file: # - p4.env command: /usr/sbin/sshd -D entrypoint: /p4/benchmark/docker_entry_master.sh networks: - p4bench volumes: - ./hxdata:/hxdata ports: - 4000:1666 tty: true client1: build: context: . dockerfile: Dockerfile command: /usr/sbin/sshd -D networks: - p4bench tty: true depends_on: - master networks: p4bench: driver: bridge