mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2024-11-23 21:22:10 +03:00
e70ac14204
Change docker-compose.yml to make docker compose down work properly.
27 lines
491 B
YAML
27 lines
491 B
YAML
version: '3.4'
|
|
|
|
services:
|
|
osx:
|
|
container_name: docker-osx
|
|
build:
|
|
context: .
|
|
args:
|
|
- SIZE=200G
|
|
- VERSION=10.15.5
|
|
image: sickcodes/docker-osx
|
|
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
|