All Projects → utensils → docker-darling

utensils / docker-darling

Licence: MIT license
Experimental docker container with Darling for macOS runtime

Programming Languages

CMake
9771 projects
Dockerfile
14818 projects
Makefile
30231 projects
shell
77523 projects

Projects that are alternatives of or similar to docker-darling

Self Hosted Docker Server Templates
Just some templates to get someone started with hosting various servers in Docker
Stars: ✭ 237 (+523.68%)
Mutual labels:  container
docker eventer
A Docker container to notify about Docker events written in Python
Stars: ✭ 14 (-63.16%)
Mutual labels:  container
xcross
"Zero Setup" cross-compilation for C/C++. Supports numerous architectures, build systems, C standard libraries, vcpkg, and Conan.
Stars: ✭ 29 (-23.68%)
Mutual labels:  cross-compiler
Haconiwa
MRuby on Container / A Linux container runtime using mruby DSL for configuration, control and hooks
Stars: ✭ 247 (+550%)
Mutual labels:  container
di
🐑 A flexible dependency injection container; It is an implementation of PSR-11
Stars: ✭ 20 (-47.37%)
Mutual labels:  container
nginx-lua
Nginx 1.19+ with LUA support based on Alpine Linux, Amazon Linux, Debian, Fedora and Ubuntu.
Stars: ✭ 112 (+194.74%)
Mutual labels:  container
Harbor
An open source trusted cloud native registry project that stores, signs, and scans content.
Stars: ✭ 16,320 (+42847.37%)
Mutual labels:  container
windows-container
Docker files for various Windows Container build
Stars: ✭ 30 (-21.05%)
Mutual labels:  container
filegrain
transport-agnostic, fine-grained content-addressable container image layout
Stars: ✭ 23 (-39.47%)
Mutual labels:  container
remark-directive
remark plugin to support directives
Stars: ✭ 137 (+260.53%)
Mutual labels:  container
Ko
Build and deploy Go applications on Kubernetes
Stars: ✭ 3,755 (+9781.58%)
Mutual labels:  container
docker-electrumx
Run an Electrum server with one command
Stars: ✭ 87 (+128.95%)
Mutual labels:  container
dockerfilegraph
Visualize your multi-stage Dockerfiles
Stars: ✭ 55 (+44.74%)
Mutual labels:  container
Staticvec
Implements a fixed-capacity stack-allocated Vec alternative backed by an array, using const generics.
Stars: ✭ 236 (+521.05%)
Mutual labels:  container
docker-java
Intro Level Lab for Docker Development for Java Developers
Stars: ✭ 34 (-10.53%)
Mutual labels:  container
K8s Diagrams
A collection of kubernetes-related diagrams
Stars: ✭ 227 (+497.37%)
Mutual labels:  container
hybridnet
A CNI plugin, provides networking environment where overlay and underlay containers can run on the same node and have cluster-wide bidirectional network connectivity.
Stars: ✭ 188 (+394.74%)
Mutual labels:  container
laravel-devcontainer
🐋 Fully-Dockerised Laravel development in Visual Studio Code
Stars: ✭ 80 (+110.53%)
Mutual labels:  container
docker
Template project for deploying Chevereto V4 based applications using Docker
Stars: ✭ 33 (-13.16%)
Mutual labels:  container
go-docker
Golang Docker Container Example
Stars: ✭ 39 (+2.63%)
Mutual labels:  container

Docker darling

CircleCI Docker Pulls Docker Stars

About

This is a containerized version of Darling (macOS translation layer). This is an experimental project with the goal to eventually cross compile both iOS and macOS projects in a docker container. I have had some limited success with macOS application builds.

Darling actually uses it's own container system, so running with Docker is a bit redundant, but I would be interested to see it work more gracefully with docker in the future.

Pull Requests are always welcome!

Building

This image is fairly heavy to build and can take a few hours depending on your system. The resulting image is about 1.5GB uncompressed. The build is driven by a Makefile so simply run the following:

make

If you look at the Makefile you will see a variable for DARLING_GIT_REF which is used to build the image against a known working git ref since there seems to be no versioning or tagging going on with Darling. This variable is nothing more than a build arg passed to docker so you can build the most recent commit:

DARLING_GIT_REF=master make

or you can build from a specific commit:

DARLING_GIT_REF=a00051b580c45b002690422819e9e2ce486f257e make

Usage

Ensure you have kernel sources installed on your host, this is needed to build the darling kernel module against the running system on container startup. We run the container in privileged mode and inject the module into the host`s kernel.

We use a volume mount of your host systems kernel sources (read only) so the kernel module can be built on container startup, this is just an attempt to keep the image somewhat portable.

For Manjaro/Arch Linux Hosts run:

docker run -i -t \
    -v /lib/modules/"$(uname -r)"/build:/lib/modules/"$(uname -r)"/build:ro \
    --privileged utensils/darling darling shell

For Ubuntu/Debian Hosts run:

docker run -i -t \
    -v /usr/src:/usr/src:ro \
    --privileged utensils/darling darling shell

License

This docker build project is licensed MIT.
Darling is GNU v3, other included assets all have their own licensing.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].