From 624dd4ec69708fe5635ed3bdd90b7ebb970630f5 Mon Sep 17 00:00:00 2001 From: Rodrigo Campos Date: Tue, 13 Aug 2024 16:43:20 +0200 Subject: [PATCH] README: Document how to override runc version Let's make this visible, as several users seem to need this. Signed-off-by: Rodrigo Campos --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 2c855e3c23e..56d72e6e3db 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,14 @@ sudo make install `runc` will be installed to `/usr/local/sbin/runc` on your system. +#### Version String Customize + +You can see the runc version by running `runc --version`. You can also override the version that +will be printed, using the `VERSION` variable for make when you compile, e.g.: +```bash +make VERSION="1.1.13-build#1" +``` + #### Build Tags `runc` supports optional build tags for compiling support of various features,