efabless / openlane2

The next generation of OpenLane, rewritten from scratch with a modular architecture
https://openlane2.readthedocs.io/
Apache License 2.0
194 stars 37 forks source link

Allow Docker drop-in alternatives, such as podman #510

Closed maxrdz closed 2 months ago

maxrdz commented 2 months ago

Description

I have a Docker drop-in alternative installed on my system, podman, which is a very popular choice. It seems that when the --dockerized argument is passed, it searches explicitly for a docker binary. Could OpenLANE search for alternatives as well? Or maybe configurable?

Aliasing docker as podman doesn't seem to work, since I assume it looks for the binary in the filesystem, and then executes it, instead of going through the shell. So, currently the only work around on a Linux environment is to create a symlink to the podman binary with the name docker in the system bin.

Proposal

No response

donn commented 2 months ago

export OPENLANE_CONTAINER_ENGINE=podman would do it. I use nerdctl personally, albeit with a symlink instead of an alias. 🙂

donn commented 2 months ago

Did this work for you, Max?

maxrdz commented 2 months ago

Did this work for you, Max?

Yes, it did. Thank you for the prompt response, and sorry for my late response. 😛