Creating Linux Containers

proxmoxOne type of virtual machine available when using Proxmox VE, is a Linux Container.  This article describes creating a new Linux Container


Templates

You need to start by preparing a template.  Start by logging on to Proxmox VE.

  1. Select the Storage View.
  2. Select the storage that is configured to store container templates.
  3. Select the Templates button.
  4. Choose the template that you would like to download.

Note that by default you will only see a limited number of templates to choose from.  To add more to this list perform the following:

  1. Log onto your Proxmox server, using SSH.
  2. Run the following command.
pveam update

 

New Linux Container

To create a Linux container, you must follow a wizard. For numbering conventions I like to start with a VM ID of 101 for containers, and 201 for KVM virtual machines.

  1. Click the Create CT button.
  2. Enter a VM ID (e.g. 101).
  3. Enter a meaningful Hostname (e.g. ub-01).
  4. Choose a Resource Pool (if applicable).
  5. Enter and confirm a Password.
  6. Select from any Template that you downloaded in the previous steps.
  7. Choose a Storage location.
  8. Select a Disk size.
  9. Leave default CPU Limit of 1.
  10. Leave default CPU Units at 1024.
  11. Select Memory to suit the server requirements (e.g. 512MB for entry level server).
  12. Choose the correct Bridge for this container to use.
  13. Enter a static IPv4 IP address (e.g. 192.168.0.61/24).
  14. Enter your Gateway server (e.g. 192.168.0.1).
  15. DNS can typically be left at default setting of use host settings.
  16. Click Finish.

Your container will typically be created in about 10 seconds, when a Task OK message will be revealed in the Output tab.

At this stage you might want to add virtual hardware in the form of new hard drives or NICs.

 

Thanks for visiting.