Skip to content

Commit e248589

Browse files
authored
add ghcr repo
1 parent 3cd13b1 commit e248589

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

DOCKER_README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ How To Run Processor Counter Monitor Server Container from Docker Hub
44

55
As root user:
66
1. ``modprobe msr``
7-
2. ``docker run -d --name pcm --privileged -p 9738:9738 opcm/pcm``
8-
- the container can also be run with limited capabilities without the privileged mode: ``docker run -d --name pcm --cap-add=SYS_ADMIN --cap-add=SYS_RAWIO --device=/dev/cpu --device=/dev/mem -v /sys/firmware/acpi/tables/MCFG:/pcm/sys/firmware/acpi/tables/MCFG:ro -v /proc/bus/pci/:/pcm/proc/bus/pci/ -v /proc/sys/kernel/nmi_watchdog:/pcm/proc/sys/kernel/nmi_watchdog -p 9738:9738 opcm/pcm`` (there is also a docker-compose file containing these options: https://raw.githubusercontent.com/opcm/pcm/master/docker-compose.yml)
7+
2. ``docker run -d --name pcm --privileged -p 9738:9738 ghcr.io/opcm/pcm`` (GitHub Container repository) or ``docker run -d --name pcm --privileged -p 9738:9738 opcm/pcm`` (Dockerhub repository)
8+
- the container can also be run with limited capabilities without the privileged mode: ``docker run -d --name pcm --cap-add=SYS_ADMIN --cap-add=SYS_RAWIO --device=/dev/cpu --device=/dev/mem -v /sys/firmware/acpi/tables/MCFG:/pcm/sys/firmware/acpi/tables/MCFG:ro -v /proc/bus/pci/:/pcm/proc/bus/pci/ -v /proc/sys/kernel/nmi_watchdog:/pcm/proc/sys/kernel/nmi_watchdog -p 9738:9738 ghcr.io/opcm/pcm`` (there is also a docker-compose file containing these options: https://raw.githubusercontent.com/opcm/pcm/master/docker-compose.yml)
99

1010
This will start pcm-sensor-server container exposing CPU metrics from the whole system at port 9738
1111

12-
The URL of the docker container repository: https://hub.docker.com/r/opcm/pcm
12+
The URLs of the docker container repositories:
13+
- https://github.com/opcm/pcm/pkgs/container/pcm
14+
- https://hub.docker.com/r/opcm/pcm

0 commit comments

Comments
 (0)