CiscoDevNet / yangsuite

Cisco YANG Suite provides a set of tools and plugins to learn, test, and adopt YANG programmable interfaces such as NETCONF, RESTCONF, gNMI and more.
Other
237 stars 70 forks source link

Support for Podman? #78

Closed innanetguru closed 2 years ago

innanetguru commented 2 years ago

We are running all RHEL8 VM's in production, and podman is the recommended container engine. I didn't have much luck running yangsuite on RHEL8 with docker, the container would not successfully load. I'm still trying to determine the exact reason why it fails. I just wanted to ask if there was anyway to run the app with podman or if there were plans to make yangsuite compatible with podman in the future?

miott commented 2 years ago

Podman 3.0 supports docker-compose files so if you have that version, you should be able to use the current docker-compose file, but, we have not tested that. It is also possible to use the current yangsuite and nginx dockerfiles on their own, but you have to map the ports through the podman run command. You could post the issues you are having to the Cisco DevNet forum.

We are using Podman internally at Cisco using a single dockerfile. It does not support HTTPS though. There were no plans to add a similar dockerfile to this repository in the next release of yangsuite, but, that does make sense. I will see about getting that in.