lxc file pull web01/etc/nginx/nginx.conf ./nginx.conf

Category: Kubernetes & Containers

lxc file pull web01/etc/nginx/nginx.conf ./nginx.conf

Copy a file out of an instance

Downloads nginx.conf from inside web01 to your current directory, handy for backing up configs or inspecting them on the host. Use lxc file push for the reverse direction. Directories work too with --recursive.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.