Install docker inside the Docker-OSX environment #507

Closed
opened 2025-12-29 01:20:30 +01:00 by adam · 1 comment
Owner

Originally created by @seojineer on GitHub (Jun 15, 2023).

I tried install docker using below command.
$ brew install --cask docker
But could not run docker daemon.
Can I install and run docker daemon in running Docker-OSX environment?
I want to do something like DinD. Is it possible?

Originally created by @seojineer on GitHub (Jun 15, 2023). I tried install docker using below command. $ brew install --cask docker But could not run docker daemon. Can I install and run docker daemon in running Docker-OSX environment? I want to do something like DinD. Is it possible?
adam closed this issue 2025-12-29 01:20:30 +01:00
Author
Owner

@seojineer commented on GitHub (Jun 22, 2023):

i found the solution in https://github.com/sickcodes/Docker-OSX/issues/438
after enable nested virtualization on qemu option below, i could run docker successfully.

    -e "CPU=max" \
    -e "BOOT_ARGS=+vmx" \

and also increase memory to run docker.

    -e "RAM=8" \

this is docker command result. Thank you.

user@users-iMac-Pro ~ % docker ps -a
CONTAINER ID   IMAGE                                   COMMAND       CREATED       STATUS       PORTS     NAMES
06a1bb61fd98   */develenv:release   "/bin/bash"   4 hours ago   Up 4 hours             devel2
d2af35272b6f    */develenv:release   "/bin/bash"   2 days ago    Up 2 days              devel
@seojineer commented on GitHub (Jun 22, 2023): i found the solution in https://github.com/sickcodes/Docker-OSX/issues/438 after enable nested virtualization on qemu option below, i could run docker successfully. ``` -e "CPU=max" \ -e "BOOT_ARGS=+vmx" \ ``` and also increase memory to run docker. ``` -e "RAM=8" \ ``` this is docker command result. Thank you. ``` user@users-iMac-Pro ~ % docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 06a1bb61fd98 */develenv:release "/bin/bash" 4 hours ago Up 4 hours devel2 d2af35272b6f */develenv:release "/bin/bash" 2 days ago Up 2 days devel ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Docker-OSX#507