I am trying to do things with LXC and I have been able to manage with the lxc-*
commands but now I have been forced to copy a file and I'm stuck because I can't get to copy the file, I have read that using lxc file
I can do it. But at all times the message of command not found comes out.
I've tried googling, checking forums, trying weird stuff, etc. But none of this has worked.
I think I need to install lxc-client
and or lxd
, but I can't install it or even if I manage to install it, the copy command doesn't work for me. Here are some of the things I have tried:
apt install snapd
snap refresh
snap install snapd
snap install core
snap install lxd
apt-get install lxc-client
apt-get install lxd
I know there are hundreds of similar questions and almost all of them have an answer, but I can't understand what they did to make it work for them.
I also don't quite understand what difference lxc has to have to use two different types of commands, those with lxc-
ls and those that use a space lxc
file