January 31, 20251 yr This is basically a follow up request for the one bellow that got archived. The issue with Unraid 7 is that the workaround of passing command arguments to the repository field no longer works. What I’m trying to achieve is essentially the equivalent of this docker compose services: cadvisor: image: 'gcr.io/cadvisor/cadvisor-arm64:v0.49.1' container_name: 'cadvisor' command: - '-housekeeping_interval=10s' - '-docker_only=true' ports: - '8080:8080' devices: - /dev/kmsg:/dev/kmsg volumes: - /:/rootfs:ro - /var/run:/var/run:ro - /sys:/sys:ro - /var/lib/docker/:/var/lib/docker:ro - /dev/disk/:/dev/disk:ro restart: unless-stopped This is beneficial for containers like ‘cadvisor’ that lack a configuration file, requiring all settings to be passed as arguments. Edited January 31, 20251 yr by StancuFlorin
January 31, 20251 yr Community Expert Solution Not sure I understand? What are these arguments to? If to the docker run I would have thought you pass them via the Extra Parameters or the Post Arguments fields
January 31, 20251 yr Author You are right. I was testing the "Extra Parameters" and missed the "Post Arguments" field. It is working fine with post arguments docker run -d --name='cadvisor' --net='bridge' --pids-limit 2048 --privileged=true -e TZ="Europe/Athens" -e HOST_OS="Unraid" -e HOST_HOSTNAME="Tower" -e HOST_CONTAINERNAME="cadvisor" -l net.unraid.docker.managed=dockerman -l net.unraid.docker.webui='http://[IP]:[PORT:8080]' -l net.unraid.docker.icon='https://raw.githubusercontent.com/selfhosters/unRAID-CA-templates/master/templates/img/cadvisor.png' -p '8090:8080/tcp' -v '/':'/rootfs':'ro' -v '/var/run':'/var/run':'ro' -v '/sys':'/sys':'ro' -v '/var/lib/docker':'/var/lib/docker/':'ro' 'gcr.io/cadvisor/cadvisor' --housekeeping_interval=10s --docker_only=true
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.