Dockerfile FROM debian:stretch-slim RUN apt update RUN apt install strace docker-compose.yml version: '3' services: app: build: . cap_add: - SYS_PTRACE command: "strace df /" use it docker-compose up