![Forrest logo](/images/logo.png)
lxc:tldr:c0a95
The command lxc start is used to start a container in a Linux Container environment. The square brackets [ ] indicate that the enclosed part is an optional parameter. In this case, ${remote} represents the remote system where the container resides, and ${container} represents the name or identifier of the container.
The command can be used in two ways:
-
If a remote system is specified using the ${remote} variable, the command starts the container specified in the ${container} variable on that remote system. For example, lxc start remote1:my-container would start the container named "my-container" on the system labeled "remote1".
-
If a remote system is not specified, the command assumes that the container is on the local system and starts the container specified in the ${container} variable locally.
Overall, the command lxc start [${remote}:]${container} is used to initiate the startup of a container either on the local system or a remote system.