diff --git a/HowtoLXC.md b/HowtoLXC.md index e39c74aa..2208d3de 100644 --- a/HowtoLXC.md +++ b/HowtoLXC.md @@ -119,6 +119,12 @@ Autres commandes utiles : Pour quitter un `lxc-console`. Il faut faire ``. Il semblerait cependant que cela ne fonctionne pas ! +Pour exécuter une commande dans un conteneur, sans y rester attaché : + +~~~ +# lxc-attach -n foo -- command --with --arguments +~~~ + # Divers / FAQ / Diagnostic ## systemd