2020-07-02 14:36:15 +00:00
|
|
|
version: '3.4'
|
2020-06-08 06:49:45 +00:00
|
|
|
|
|
|
|
services:
|
|
|
|
osx:
|
2020-07-02 14:36:15 +00:00
|
|
|
container_name: docker-osx
|
2020-06-08 06:49:45 +00:00
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
args:
|
|
|
|
- SIZE=200G
|
|
|
|
- VERSION=10.15.5
|
|
|
|
image: sickcodes/docker-osx
|
|
|
|
privileged: true
|
|
|
|
environment:
|
2020-07-02 14:36:15 +00:00
|
|
|
- DISPLAY=${DISPLAY:-:0.0}
|
2020-06-08 06:49:45 +00:00
|
|
|
network_mode: "host"
|
|
|
|
cap_add:
|
|
|
|
- ALL
|
|
|
|
volumes:
|
2020-07-02 14:36:15 +00:00
|
|
|
- /tmp/.X11-unix:/tmp/.X11-unix
|
|
|
|
- /dev:/dev
|
|
|
|
- /lib/modules:/lib/modules
|
|
|
|
- docker-osx_data:/home
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
docker-osx_data:
|
|
|
|
name: docker-osx_data
|