[lxc-users] LXC shell argument -- what, what and how

Mark Constable markc at renta.net
Sat May 23 03:25:06 UTC 2015


On Fri, 22 May 2015 08:06:13 PM Kevin LaTona wrote:
> Can any one clue me in on what the  -- is used for in the
> lxc exec call?

It's a shell thing. Anything before the -- is passed directly
to the calling program and anything after the -- is ignored but
generally available to any program launched by the first program.

lxc exec sysadm ls -l

vs

lxc exec sysadm ls -- -l
lxc exec sysadm ls -- -la


More information about the lxc-users mailing list