I am trying to setup ConvoyNFS, following the instructions in the December Meetup video. During the discussion he installs a “simple” NFS server from CPUGuy83. Here is the docker compose he shows as an example:
nfs:
log_driver: ''
labels:
io.rancher.scheduler.affinity:host_label: service=nfs
command:
- /exports
log_opt: {}
image: cpuguy83/nfs-server
privileged: true
volumes:
- /exports
However it appears as tho running the container in privileged mode is causing the CPU to be pegged.
I have read here (getty processes at 100% cpu? · Issue #4040 · moby/moby · GitHub) that this is a known issue if you run containers in priveliged mode, but so far have not found a fix.
I am posting this here, because I have noticed this behaviour with other containers that launch through Rancher.