Originally created by @shahidcodes on GitHub (Aug 25, 2021).
for both naked and auto images how do I persist installation of the os across restart?
My goal is to use this image to debug my websites on safari and do some development but I noticed there is no bind mount or whatsoever in both naked and auto images.
Originally created by @shahidcodes on GitHub (Aug 25, 2021).
for both naked and auto images how do I persist installation of the os across restart?
My goal is to use this image to debug my websites on safari and do some development but I noticed there is no bind mount or whatsoever in both `naked` and `auto` images.
I am same commands as given in example -
i.e.
for naked:
```bash
docker run -it \
--device /dev/kvm \
-p 50922:10022 \
-v "${PWD}/mac_hdd_ng_auto.img:/image" \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e "DISPLAY=${DISPLAY:-:0.0}" \
sickcodes/docker-osx:naked
```
for auto:
```bash
docker run -it \
--device /dev/kvm \
-p 50922:10022 \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e "DISPLAY=${DISPLAY:-:0.0}" \
-e "OSX_COMMANDS=/bin/bash -c \"pwd && uname -a\"" \
sickcodes/docker-osx:auto
```
H 👋🏻, I'm a mac newbie (installation seems daunting ). Got the same issue here, the partition disappears after re-running docker run -it --device /dev/kvm -p 50922:10022 -v /tmp/.X11-unix:/tmp/.X11-unix -e "DISPLAY=${DISPLAY:-:0.0}" sickcodes/docker-osx:big-sur
@yozachar commented on GitHub (Aug 25, 2021):
H 👋🏻, I'm a mac newbie (installation seems daunting ). Got the same issue here, the partition disappears after re-running `docker run -it --device /dev/kvm -p 50922:10022 -v /tmp/.X11-unix:/tmp/.X11-unix -e "DISPLAY=${DISPLAY:-:0.0}" sickcodes/docker-osx:big-sur`
for both naked and auto images how do I persist installation of the os across restart?
My goal is to use this image to debug my websites on safari and do some development but I noticed there is no bind mount or whatsoever in both naked and auto images.
@sickcodes commented on GitHub (Aug 25, 2021):
> for both naked and auto images how do I persist installation of the os across restart?
>
> My goal is to use this image to debug my websites on safari and do some development but I noticed there is no bind mount or whatsoever in both `naked` and `auto` images.
>
> I am same commands as given in example -
> i.e.
>
> for naked:
>
> ```shell
> docker run -it \
> --device /dev/kvm \
> -p 50922:10022 \
> -v "${PWD}/mac_hdd_ng_auto.img:/image" \
> -v /tmp/.X11-unix:/tmp/.X11-unix \
> -e "DISPLAY=${DISPLAY:-:0.0}" \
> sickcodes/docker-osx:naked
> ```
>
> for auto:
>
> ```shell
> docker run -it \
> --device /dev/kvm \
> -p 50922:10022 \
> -v /tmp/.X11-unix:/tmp/.X11-unix \
> -e "DISPLAY=${DISPLAY:-:0.0}" \
> -e "OSX_COMMANDS=/bin/bash -c \"pwd && uname -a\"" \
> sickcodes/docker-osx:auto
> ```
Yeah I am thinking of adding a naked auto
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @shahidcodes on GitHub (Aug 25, 2021).
for both naked and auto images how do I persist installation of the os across restart?
My goal is to use this image to debug my websites on safari and do some development but I noticed there is no bind mount or whatsoever in both
nakedandautoimages.I am same commands as given in example -
i.e.
for naked:
for auto:
@yozachar commented on GitHub (Aug 25, 2021):
H 👋🏻, I'm a mac newbie (installation seems daunting ). Got the same issue here, the partition disappears after re-running
docker run -it --device /dev/kvm -p 50922:10022 -v /tmp/.X11-unix:/tmp/.X11-unix -e "DISPLAY=${DISPLAY:-:0.0}" sickcodes/docker-osx:big-sur@sickcodes commented on GitHub (Aug 25, 2021):
https://github.com/sickcodes/Docker-OSX#start-the-same-container-later-persistent-disk
@sickcodes commented on GitHub (Aug 25, 2021):
Yeah I am thinking of adding a naked auto
@sickcodes commented on GitHub (Aug 25, 2021):
docker build -t naked-auto --build-arg COMPLETE= -f Dockerfile.auto .Will build a naked auto