From 26e3d18442da5293d2b0ac5e3a6be534f752140c Mon Sep 17 00:00:00 2001 From: Ecko <28094190+Pakbon@users.noreply.github.com> Date: Mon, 12 Sep 2022 03:29:21 +0200 Subject: [PATCH] lxc: add execute example (#8472) --- pages/linux/lxc.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/linux/lxc.md b/pages/linux/lxc.md index 853814609..897e6a54e 100644 --- a/pages/linux/lxc.md +++ b/pages/linux/lxc.md @@ -31,3 +31,7 @@ - Take a snapshot of a container: `lxc snapshot [{{remote}}:]{{container}} {{snapshot}}` + +- Execute a specific command inside a container: + +`lxc exec [{{remote}}:]{{container}} {{command}}`