From 68c0af9dc2050a53dfe966e3c983cf7a5dd5a09d Mon Sep 17 00:00:00 2001 From: Joe Burianek Date: Wed, 28 Oct 2020 17:07:43 -0500 Subject: [PATCH] Update readme Add help info for the `--static-ip` flag Use the `createRuntime` hook, since `prestart` is deprecated --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e3b67c4..f9168a2 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,7 @@ Flags: -d enable debug logging (default: false) --iface name of interface in the namespace (default: eth0) --ip ip address for bridge (default: 172.19.0.1/16) + --static-ip Enable static IP Address (default: ) Commands: @@ -56,13 +57,13 @@ Commands: version Show the version information. ``` -Place this in the `Hooks.Prestart` field of your `runc` config. +Place this in the `Hooks.CreateRuntime` field of your `runc` config. ```json { ... "hooks": { - "prestart": [ + "createRuntime": [ { "path": "/path/to/netns" }