Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
virtualisation:how-to-setup-a-container [2022/02/02 14:17]
schmitt
virtualisation:how-to-setup-a-container [2023/11/28 13:58] (current)
dodenhoeft [Manual Setup]
Line 34: Line 34:
   - You should see a following screen (if you chose extended storage, the path will have storage1 instead of storage0: ''/​mnt/​storage1/​lxc/​guest0''​) {{ :​app-notes:​virt.png |}}   - You should see a following screen (if you chose extended storage, the path will have storage1 instead of storage0: ''/​mnt/​storage1/​lxc/​guest0''​) {{ :​app-notes:​virt.png |}}
   - Transfer the downloaded container (you can use WinSCP) to the router and put in ''/​mnt/​storage0/​lxc''​   - Transfer the downloaded container (you can use WinSCP) to the router and put in ''/​mnt/​storage0/​lxc''​
-  - Unpack the container: <​code> ​tar xvJf ubuntu_bionic.tar.xz ​C ./guest0 </​code>​+  - Unpack the container: <​code> ​xz -cd /​tmp/​containerName.tar.xz ​| tar x -C ./guest0 </​code>​
   - The extracted container contains a rootfs directory which is now stored under ''/​mnt/​storage0/​lxc/​guest0''​.   - The extracted container contains a rootfs directory which is now stored under ''/​mnt/​storage0/​lxc/​guest0''​.
   - Type <​code>​ lxc-start –n guest0 </​code>​   - Type <​code>​ lxc-start –n guest0 </​code>​