You've already forked Docker-OSX
mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2025-07-02 18:53:31 -05:00
Use -e OSX_COMMANDS to run commands in OSX at runtime in :auto. Add docker start -i instructions.
This commit is contained in:
@ -88,7 +88,7 @@ ENV DISPLAY=:99
|
||||
ENV IMAGE_PATH=/image
|
||||
|
||||
CMD [[ "${DISPLAY}" = ':99' ]] && { nohup Xvfb :99 -screen 0 1920x1080x16 \
|
||||
& until [[ "$(xrandr --query 2>/dev/null)" ]]; do sleep 0.1 ; done ; } \
|
||||
& until [[ "$(xrandr --query 2>/dev/null)" ]]; do sleep 1 ; done ; } \
|
||||
; sudo chown "$(id -u)":"$(id -g)" "${IMAGE_PATH}" 2>/dev/null || true \
|
||||
; ./enable-ssh.sh \
|
||||
; envsubst < ./Launch.sh | bash
|
||||
|
Reference in New Issue
Block a user