I’m running prom/prometheus on my UNRAID server. I want to add --storage.tsdb.retention.time=1y
to the CMD when my container runs. I have no idea how to do this on UNRAID. Do I need to create a new image from prom/prometheus or can I add it to the docker run
command?
CMD is what you can override after the name of the image:
docker run [options] <image_name> <CMD>
so yes, you can change it without creating a new image.
1 Like