I’m having this issue when trying to mount a named device on a multicontainer docker-compose
mount: only root can use "--move" option
umount: /dev: umount failed: Operation not permitted
mount: only root can use "--move" option
ln: cannot remove ‘/dev/ptmx’: Permission denied
mount: only root can use "--types" option
Systemd init system enabled.
/usr/bin/entry.sh: line 63: /etc/docker.env: Permission denied
/usr/bin/entry.sh: line 70: /etc/resinApp.sh: Permission denied
/usr/bin/entry.sh: line 71: /etc/resinApp.sh: Permission denied
chmod: cannot access ‘/etc/resinApp.sh’: Nosuch file or directory
mkdir: cannot create directory ‘/etc/systemd/system/launch.service.d’: Permission denied
/usr/bin/entry.sh: line 75: /etc/systemd/system/launch.service.d/override.conf: No such file or directory
Failed to mount tmpfs at /run: Operation not permitted
The compose file looks like it should work without issue, could you post the Dockerfile that is running the mount command?
Steps for a minimal reproduction of the issue would be perfect.