Move to other profile

How to move lxd from one profile to another existing profile?
is it just shutdown for lxd aontainer and edit the profile and add it on the file then start up or what?

I’m not sure what you mean? Do you want to apply a different profile to a container?

Or copy a profile to another LXD server?

i move a container to my host and start it up. The network is started in default profile.
I want to move my container from default network to my custom network network.

So you can either add your new network device to the container (which will replace that specific device defined in the default profile) using:

lxc config device add c1 nic eth0 nictype=...

Or if you have another profile with the new NIC device defined you assign that profile to the container using:

lxc profile assign ...