Forrest logo
back to the lxc tool

lxc:tldr:c0a95

lxc: Start a container.
$ lxc start [${remote}:]${container}
try on your machine

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:

  1. 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".

  2. 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.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the lxc tool