Change the profiles of a running container

lxc profile

  • Manage profiles for LXD containers.
    More information: <https://linuxcontainers.org/lxd/docs/master/profiles>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

lxc profile assign {{container_name}} {{profile1,profile2}}

click the source code to copy install lxc profile on any operating system with command-not-found.com