xref: /netbsd-src/external/bsd/zstd/dist/contrib/docker/README.md (revision 3117ece4fc4a4ca4489ba793710b60b0d26bab6c)
1*3117ece4Schristos
2*3117ece4Schristos## Requirement
3*3117ece4Schristos
4*3117ece4SchristosThe `Dockerfile` script requires a version of `docker` >= 17.05
5*3117ece4Schristos
6*3117ece4Schristos## Installing docker
7*3117ece4Schristos
8*3117ece4SchristosThe official docker install docs use a ppa with a modern version available:
9*3117ece4Schristoshttps://docs.docker.com/install/linux/docker-ce/ubuntu/
10*3117ece4Schristos
11*3117ece4Schristos## How to run
12*3117ece4Schristos
13*3117ece4Schristos`docker build -t zstd .`
14*3117ece4Schristos
15*3117ece4Schristos## test
16*3117ece4Schristos
17*3117ece4Schristos```
18*3117ece4Schristosecho foo | docker run -i --rm zstd | docker run -i --rm zstd zstdcat
19*3117ece4Schristosfoo
20*3117ece4Schristos```
21