docker-etchosts: build: . volumes: - "/etc/hosts:/hosts" - "/var/run/docker.sock:/var/run/docker.sock" privileged: true restart: always