News for hackers. Stuff that matters.
Re:Docker for Mac Without Docker Desktop by asdff on Friday January 28, 2022 @02:06PM (#30118953)
I have used the native launch agent system in macos to do what some people use docker containers for.
Re:Docker for Mac Without Docker Desktop by whartung on Friday January 28, 2022 @02:20PM (#30119110)
Do you have this written up anyplace sharable?
Re:Docker for Mac Without Docker Desktop by asdff on Friday January 28, 2022 @04:22PM (#30120531)
No, but basically this would apply to like little services that might run on docker locally on my mac. Say you have a Dockerfile that uses pip to install some stuff and run a python script. There are a few tools on github I use that are configured like this. To run it without docker, I would write up a simple launch agent plist file that calls up another script that just initializes a conda environment with the dependencies and runs the python. this might not be applicable to all docker use cases, though, but it works well enough for me.