4 ms·
Docker running badly is just as much a Docker problem for it being so tied to Linux as it is a macOS problem. It’s one of the big cons of a “ship the whole rain
by kitsunesoba 5y ago
Docker running badly is just as much a Docker problem for it being so tied to Linux as it is a macOS problem. It’s one of the big cons of a “ship the whole rainforest” approach: you’re trading fewer variables for your application for performances losses due to greater possible incongruities between the abstraction and the host.
One would have similar issues rigging up Docker to run on FreeBSD, because that’s also not Linux despite being plenty UNIXy.
- wmf 5y agoAFAIK macOS doesn't have namespaces/jails/zones so it would be near-impossible to build native Docker for macOS.
- elpescado 5y agoHow useful would Mac-native docker be? You couldn't run any of your Linux containers and I cannot see much utility in macOS containers.
- wmf 5y agoPlenty of people develop on macOS and deploy on Linux (this isn't completely reliable but people consider it good enough for Ruby/Python/Node.js) so I could imagine a portable Dockerfile that generates either a macOS image or a Linux image depending where it is built. This would speed development dramatically.
- elpescado 5y agoBut isn't the whole point of Docker having a 100.0000000% repeatable environment? And how would that portable Dockerfile would look?