This repository has been archived by the owner on Oct 29, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Documentation: show folks how to use the docker container
- Loading branch information
Showing
2 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
## Running tl in Docker | ||
|
||
This uses Docker to run tl to verify an existing file from the current working | ||
directory on the host machine. | ||
|
||
``` | ||
docker run \ | ||
quay.io/transparencylog/tl:latest \ | ||
--mount type=bind,source=$PWD,target=/mnt \ | ||
/tl verify https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.1.tar.xz /mnt/linux-5.1.tar.xz | ||
``` | ||
|
||
The return code will be forwarded from docker so you can test for non-zero exit | ||
for verification failure. |