How to Find UID and GID on Synology DSM

If you are running home server using Docker containers, you would often see PUID (UID) or PGID (GID). The only problem is, as far as I could tell, Synology DSM does not offer GUI way to get these numbers. In fairness, in Docker territory, you are above the pay grade of consumer NAS products. For home servers, I believe it is customary for manufacturers to provide bare bone software support — it’s up to the users, and possibly the community they can rely on, to find answers.

If you have enabled ssh on your machine, you are in luck. In fact, you would need it in the long run. If it isn’t, the option is under Control Panel > Terminal & SNMP > check “Enable SSH Service”. From ssh, simply type the following command: id. UID and GID are the two values you would normally need.

Again, if you are experimenting home servers, have fun but at your own risk. First few containers are the hardest to setup. Once gotten used to the grammar of it all, it’s really about building a project you thought of. I’m still in the process of migrating my projects that relied on old Pi boards. While they were adequately fast in terms of processing power, I couldn’t make it work with the limited RAM anymore.

Leave a comment

Comments will be automatically closed after 30 days.