[GUIDE] Installing ARM in a Proxmox Container #965
Replies: 6 comments 13 replies
-
Suggestion: add a point in step 7 to change the console mode to shell, otherwise you can get just a black screen for your container when it first starts |
Beta Was this translation helpful? Give feedback.
-
A Step that I feel is missing is how to log in to the arm user created in step 7 to then run the docker setup script |
Beta Was this translation helpful? Give feedback.
-
After installing docker, a few steps are missing:
|
Beta Was this translation helpful? Give feedback.
-
It also looks like the home directory for the arm user needs to manually be set up and have permissions given to it so it can write files to that location |
Beta Was this translation helpful? Give feedback.
-
For the note at the end of step 9, I think you mean to say to skip to step 11? |
Beta Was this translation helpful? Give feedback.
-
Hi! Thank you for this guide, I got the ripping machine working thanks to you. Do you know how I could get the intel quicksync to work in the container? I've passed through both /dev/dri and /dev/dri/renderD128 and I added arm to a render group on the LXC and mapped the gid to the host render group. Quicksync is still not working though. Any ideas? |
Beta Was this translation helpful? Give feedback.
-
Installation steps of Automatic Ripping Machine (Docker Install) inside a Proxmox LXC container
This guide will install the Automatic Ripping Machine (ARM) inside a Proxmox Container LXC using the docker install script.
Storage Considerations
In this setup I use a shared volume for ARM to deposit completed files into which is shared with other containers installed on for use, in my case Jellyfin. LXD containers are persistent which means that settings can be saved in the container's volume. In my setup Proxmox is running on an SSD which is the fastest storage available so my transcode and raw folders are remaining inside the container. That does mean however that I needed to give enough storage space to my container to work. (100 GiB).
Tested Environment
Procedure
First one needs to prepare the Proxmox Host and get Information
apt update && apt upgrade -y
apt install lsscsi
lsscsi -g
The command returns a screen like below, write down your optical drive's SR id (in the blue box of the image) and SG id (in the green box of the image)
ls -l /dev/sr* && ls -l /dev/sg*
This command will list your drive's major (in the blue box) and minor (in the green box) number for both the SR id, the SG id as well as the device's category (the letter "b" and "c" in the yellow box) Record all three values.
nano /etc/pve/lxc/<Your Container ID>.conf
(It should look similar to below)~
3. Add the following lines.
~
4. Add the following lines for each of the Optical Drives you are passing to the Container (Replace the values inside
<Value>
to what is appropriate for your situation)This is my configuration
apt install lsscsi
lsscsi -g
confirm that the output for your Optical Drives are the same as they are on the Proxmox Host. If not check your LXC Config file and restart the container.ls -l /dev/sr* && ls -l /dev/sg*
The lines about your Optical Drives should be identical as they were on the Proxmox Host. If not check your LXC Config file and restart the container.groupadd -g <GroupID> arm
useradd -u <UserID> -g arm arm
passwd arm
apt install curl -y
curl -sSL https://get.docker.com/ | sh
docker run --restart always -d -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce
http://[LXC_Container_ID]:9000
to complete portainer setup./mnt/media
nano /etc/pve/lxc/<ContainerID>.conf
here container ID is for the container that has the volume you wish to share, if you completed step 9. this is your ARM container.mp0: local-lvm:vm-300-disk-1,mp=/mnt/media,backup=1,size=16T
Hint: the "mp0" should match the Mount Point ID seen in the UI.shared=1
to it. Copy the entire line.<UserID>
and<GroupID>
how to do this is outside the scope of this guide.nano start_arm_container.sh
~
3. Add your mount points these take the form of
-v "<LXC Container's Path to location>:<Docker Path to location>" \
Keep in mind that here the location are from the LXC Container's and Docker's perspective respectively. (you may have to delete some lines already there or modify them...)exit
/home/arm/start_arm_container.sh
Assuming all was done correctly (and my guide is correct) you should now be able to use ARM on your Proxmox machine. Just give ARM a few seconds to start, go to the address
http://<your arm ip address>:8080
log in with the default user (admin) and password (password) and once you see the arm interface pop-in a disk in your optical drive and see if it runs!Edits
Beta Was this translation helpful? Give feedback.
All reactions