skupperproject / skupper

Skupper is an implementation of a Virtual Application Network, enabling rich hybrid cloud communication.
http://skupper.io
Apache License 2.0
559 stars 71 forks source link

skupper init improve help text #1479

Open Karen-Schoener opened 1 month ago

Karen-Schoener commented 1 month ago

Improve help text in skupper init if podman endpoint is not available.

Fixes #1471

Karen-Schoener commented 1 month ago

Test case: run as root:

[root@fedora skupper]# ./skupper --platform podman init
Podman endpoint is not available: unix:///run/podman/podman.sock

Recommendation:

        Make sure you have an active podman endpoint available.
        On most systems you can execute:

                systemctl enable --now podman.socket

        Alternatively you could also create your own service that runs:

                podman system service --time=0 <URI>

        You can get concrete examples through:

                podman help system service

Test case: run as non-root:

[kschoener@fedora skupper]$ ./skupper --platform podman init
Podman endpoint is not available: unix:///run/user/1000/podman/podman.sock

Recommendation:

        Make sure you have an active podman endpoint available.
        On most systems you can execute:

                systemctl --user enable --now podman.socket

        Alternatively you could also create your own service that runs:

                podman system service --time=0 <URI>

        You can get concrete examples through:

                podman help system service