The Dockerfile
script requires a version of docker
>= 17.05
The official docker install docs use a ppa with a modern version available: https://docs.docker.com/install/linux/docker-ce/ubuntu/
docker build -t zstd .
echo foo | docker run -i --rm zstd | docker run -i --rm zstd zstdcat foo