File push - 'no such file or directory'

snap

(Gunnar) #1

I am running the snap version of lxd 3.10 on a debian9 host & want to push a local .tar file to a container

lxc file push [/path/to/file.tar] [container_name/path/to/folder]

but am getting this error

Error: open /var/lib/snapd/hostfs/[/path/to/file.tar]: no such file or directory

which is correct: /var/lib/snapd/hostfs/[path/to/file.tar] does not exist because there is nothing inside /var/lib/snapd/hostfs. However [path/to/file.tar] does exists which should be sufficient to push a file

can anybody help with this?


(Gunnar) #2

false alarm, sorry. Got a type in the container name :blush: