This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
virtualisation:how-to-setup-a-container [2018/06/19 15:54] – [Automatic Setup] preisig | virtualisation:how-to-setup-a-container [2023/11/28 13:58] (current) – [Manual Setup] dodenhoeft | ||
---|---|---|---|
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. | ||
Line 10: | Line 10: | ||
===== Resources ===== | ===== Resources ===== | ||
- | * [[ftp:// | + | * [[https:// |
===== Automatic Setup ===== | ===== Automatic Setup ===== | ||
- | Using router Software >= 4.1.0.102 allows you to setup a containers automatically. You first need to apply your virtualisation settings | + | 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 | ||
+ | |||
+ | |||
+ | After those setps your archive gets automatically downloaded and extracted and the rootfs will be stored under ''/ | ||
- | {{ : | ||
===== Manual Setup ===== | ===== Manual Setup ===== | ||
Line 25: | Line 34: | ||
- 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 downloaded container (you can use WinSCP) to the router and put in ''/ | - Transfer the downloaded container (you can use WinSCP) to the router and put in ''/ | ||
- | - Unpack the container: < | + | - Unpack the container: < |
- | - The extracted container contains a rootfs directory which is no stored under ''/ | + | - The extracted container contains a rootfs directory which is now stored under ''/ |
- 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 < | ||
- | + | | |
- | start container in foreground mode < | + | |