Sample Header Ad - 728x90

How to make a Mac run a docker container on start up without a password but prevent people from accessing the UI without a password

1 vote
1 answer
169 views
I am trying to make my Mac behave similarly to a linux server, I want the Mac to start on its own when plugged in, launch a docker container for a web server without any user input. However, I don't want anybody to be able to plug a monitor into the Mac and then access the desktop UI without a password. So far I have only been able to remove the password on log in so the Mac automatically logs in and starts the web server, but then anybody can just plug a screen and use the Mac without a password. Is there a way to make it behave similarly to a linux server where it just starts on its own, runs all the backgrounds tasks but then if somebody tries to use it with a keyboard and mouse it will ask for a password ?
Asked by kasimolo33 (21 rep)
Feb 20, 2025, 03:59 PM
Last activity: Feb 26, 2025, 09:42 AM