mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-01-11 21:10:25 +01:00
Macos starts from the installation over and over again #96
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @itsoulos on GitHub (Dec 28, 2020).
Dear all I have followed your instructions to install macos but
after every successful installation the procedure starts again instead of booting to the installed disk
What is wrong with my installation?
Best regards
Giannis Tsoulos
@thematrixdev commented on GitHub (Dec 29, 2020):
Do you see the boot menu (showing two hard drives) after install? Have you chosen the one you have installed OSX to (instead of the base volume)?
@itsoulos commented on GitHub (Dec 29, 2020):
No I see only the drive to install macos
Here is the command that I execute as root
docker run --privileged -e "DISPLAY=${DISPLAY:-:0.0}" -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx
@thematrixdev commented on GitHub (Dec 29, 2020):
The new drive will only show up after installation. Before installation, did you use "disk utility" to "erase" and "create" on the LARGEST drive?
@itsoulos commented on GitHub (Dec 29, 2020):
Yes I have seen the new drive but it has been lost when I closed the application docker and restart it
@thematrixdev commented on GitHub (Dec 29, 2020):
Oh I see. The docker volume does not presist so you have lost the installation. I would suggest you using docker-compose.
git clonethis project, anddocker-compose up -d.@itsoulos commented on GitHub (Dec 29, 2020):
So, you say to execute docker-compose up -d after the installation?
@thematrixdev commented on GitHub (Dec 29, 2020):
No. Use
docker-compose up -dfrom the very begining, so the "docker volume" will be managed and persist bydocker-compose. After installation, use and shut-down, you can usedocker-compose up -dnext time you need to use OSX.@sickcodes commented on GitHub (Dec 29, 2020):
docker psto get the container IDdocker start containeridOtherwise you'll get a new box every time.
@itsoulos commented on GitHub (Dec 29, 2020):
I have managed to install it but the MACOS can not see IOS Devices
@sickcodes commented on GitHub (Jan 4, 2021):
I will have a prebuilt image ready soon