Skip to content

Instantly share code, notes, and snippets.

@michaellee8
Created August 25, 2021 13:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaellee8/a93a1f7ee78fbbe93e24c5b0123087ba to your computer and use it in GitHub Desktop.
Save michaellee8/a93a1f7ee78fbbe93e24c5b0123087ba to your computer and use it in GitHub Desktop.
docker-osx
version: '3.4'
services:
osx:
container_name: docker-osx
image: sickcodes/docker-osx:big-sur
privileged: true
environment:
- DISPLAY=${DISPLAY:-:0.0}
network_mode: "host"
cap_add:
- ALL
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
- /dev:/dev
- /lib/modules:/lib/modules
- docker-osx_data:/home
volumes:
docker-osx_data:
name: docker-osx_data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment