This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
virtualisation:how-to-setup-a-container [2018/06/19 15:29] – [Manual Setup] preisig | virtualisation:how-to-setup-a-container [2022/02/02 14:16] – schmitt | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== How to install | + | ====== How to install |
The following describes the current options on how to setup and install an LXC container onto a Netmodule router. | The following describes the current options on how to setup and install an LXC container onto a Netmodule router. | ||
- | First of all you need a licence for virtualisation on your router. Once that is ensured you can enable virtualisation on the router and setup an example container. This documents describes the two ways (manual & automatic) used to setup a container. | + | Before you start you need a licence for virtualisation on your router. Once that is ensured you can enable virtualisation on the router and setup an example container. This documents describes the two ways (manual & automatic) used to setup a container. |
- | Prerequisites: | + | ===== Prerequisites |
* Netmodule Router and a virtualisation licence | * Netmodule Router and a virtualisation licence | ||
* LXC container for arm architecture (armhf) | * LXC container for arm architecture (armhf) | ||
- | Resources: | + | ===== Resources |
- | * [[ftp:// | + | * [[https:// |
+ | |||
+ | ===== Automatic Setup ===== | ||
+ | Using router Software >= [[http:// | ||
+ | |||
+ | - Open GUI and go to System → Virtualization | ||
+ | - Click + to add container | ||
+ | - By settings, choose type, create a description and select storage. Root file system will be set automatically | ||
+ | - You have to enable networking, go to “Networking”, | ||
+ | - You should see a following screen (if you chose extended storage, the path will have storage1 instead of storage0: ''/ | ||
+ | - Once you applied your virtualisation settings, select the " | ||
+ | |||
+ | |||
+ | After those setps your archive gets automatically downloaded and extracted and the rootfs will be stored under ''/ | ||
Line 20: | Line 33: | ||
- If you want to enable networking, go to “Networking”, | - If you want to enable networking, go to “Networking”, | ||
- You should see a following screen (if you chose extended storage, the path will have storage1 instead of storage0: ''/ | - You should see a following screen (if you chose extended storage, the path will have storage1 instead of storage0: ''/ | ||
- | - Transfer the downloader | + | - Transfer the downloaded |
- | - Unpack the container: < | + | - Unpack the container: < |
- | - Check access rights using < | + | - The extracted container contains |
- | - If the created folder has rights 644, change them* to 755: < | + | |
- | - The extracted container contains rootfs directory. You need to copy the content of it to the specified root file system. Go to jessie folder: < | + | |
- Type < | - Type < | ||
- Information about container can be accesed by typing < | - Information about container can be accesed by typing < | ||
- Now you can attach to the container by typing < | - Now you can attach to the container by typing < | ||
- | + | | |
- | * Later you should remove executable permission bits from some system files, | + | |