Options (1)
-p, --profilebooleanLaunch a new container with specific profiles
Example:
lxc launch {{container_image}} {{container_name}} {{[-p|--profile]}} {{profile1}} {{[-p|--profile]}} {{profile2}}Examples (6)
List all available profiles
lxc profile listShow the configuration of a specific profile
lxc profile show profile_nameEdit a specific profile in the default editor
lxc profile edit profile_nameEdit a specific profile importing the configuration values from a file
Launch a new container with specific profiles
lxc launch container_image container_name [-p|--profile] profile1 [-p|--profile] profile2Change the profiles of a running container
lxc profile assign container_name profile1,profile2made by @shridhargupta | data from tldr-pages