Originally created by @leiless on GitHub (Nov 15, 2021).
Hi, all. I wonder if I can run Docker-OSX inside podman?
My OS is Ubuntu 20.04 LTS(x86_64) with Podman 3.3.1
Originally created by @leiless on GitHub (Nov 15, 2021).
Hi, all. I wonder if I can run `Docker-OSX` inside podman?
My OS is Ubuntu 20.04 LTS(x86_64) with Podman 3.3.1
I haven't used podman before but I assume yes, if it's just a Docker wrapper
It's more than a wrapper, and everybody should transit to podman, at least for security purposes, if not philosophical
@bphd commented on GitHub (Mar 17, 2023):
> I haven't used podman before but I assume yes, if it's just a Docker wrapper
It's more than a wrapper, and everybody should transit to podman, at least for security purposes, if not philosophical
I managed to make it work on podman + wsl with ubuntu 22.
Had to set podman machine to rootful, otherwise the mac does not have internet access and fails to install the OS. (Probably there is a right way to do it, but this worked for me)
On ubuntu, I ran echo $DISPLAY to find the display config used, which outputs :0. Then I replaced the -e "DISPLAY=${DISPLAY:-:0.0}" for -e "DISPLAY=:0". Using the original command was giving me lkg errors.
@leunardo commented on GitHub (Apr 5, 2023):
I managed to make it work on podman + wsl with ubuntu 22.
Had to set podman machine to rootful, otherwise the mac does not have internet access and fails to install the OS. (Probably there is a right way to do it, but this worked for me)
On ubuntu, I ran `echo $DISPLAY` to find the display config used, which outputs `:0`. Then I replaced the `-e "DISPLAY=${DISPLAY:-:0.0}"` for `-e "DISPLAY=:0"`. Using the original command was giving me lkg errors.
Final command was
```
podman run -it --device /dev/kvm -p 50922:10022 -v /mnt/wslg/.X11-unix:/tmp/.X11-unix -e "DISPLAY=:0" sickcodes/docker-osx:latest
```
I managed to make it work on podman + wsl with ubuntu 22.
Had to set podman machine to rootful, otherwise the mac does not have internet access and fails to install the OS. (Probably there is a right way to do it, but this worked for me)
On ubuntu, I ran echo $DISPLAY to find the display config used, which outputs :0. Then I replaced the -e "DISPLAY=${DISPLAY:-:0.0}" for -e "DISPLAY=:0". Using the original command was giving me lkg errors.
The project should really shift to PodMan, then after if possible to rootless (by fine tuning things like internet or so)
@bphd commented on GitHub (Apr 5, 2023):
> I managed to make it work on podman + wsl with ubuntu 22.
>
> Had to set podman machine to rootful, otherwise the mac does not have internet access and fails to install the OS. (Probably there is a right way to do it, but this worked for me)
>
> On ubuntu, I ran `echo $DISPLAY` to find the display config used, which outputs `:0`. Then I replaced the `-e "DISPLAY=${DISPLAY:-:0.0}"` for `-e "DISPLAY=:0"`. Using the original command was giving me lkg errors.
>
> Final command was
>
> ```
> podman run -it --device /dev/kvm -p 50922:10022 -v /mnt/wslg/.X11-unix:/tmp/.X11-unix -e "DISPLAY=:0" sickcodes/docker-osx:latest
> ```
The project should really shift to PodMan, then after if possible to rootless (by fine tuning things like internet or so)
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 @leiless on GitHub (Nov 15, 2021).
Hi, all. I wonder if I can run
Docker-OSXinside podman?My OS is Ubuntu 20.04 LTS(x86_64) with Podman 3.3.1
@dmann18181 commented on GitHub (Nov 15, 2021):
I am interested in running this inside podman as well.
My OS is Fedora 35(x86_64) with podman 3.4.1
@sickcodes commented on GitHub (Nov 16, 2021):
I haven't used podman before but I assume yes, if it's just a Docker wrapper
@bphd commented on GitHub (Mar 17, 2023):
It's more than a wrapper, and everybody should transit to podman, at least for security purposes, if not philosophical
@leunardo commented on GitHub (Apr 5, 2023):
I managed to make it work on podman + wsl with ubuntu 22.
Had to set podman machine to rootful, otherwise the mac does not have internet access and fails to install the OS. (Probably there is a right way to do it, but this worked for me)
On ubuntu, I ran
echo $DISPLAYto find the display config used, which outputs:0. Then I replaced the-e "DISPLAY=${DISPLAY:-:0.0}"for-e "DISPLAY=:0". Using the original command was giving me lkg errors.Final command was
@bphd commented on GitHub (Apr 5, 2023):
The project should really shift to PodMan, then after if possible to rootless (by fine tuning things like internet or so)