Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is shinyproxy compatible with podman? #385

Open
travis-leith opened this issue Sep 20, 2022 · 8 comments
Open

Is shinyproxy compatible with podman? #385

travis-leith opened this issue Sep 20, 2022 · 8 comments

Comments

@travis-leith
Copy link

Apparently RedHat 8 uses podman instead of docker. If docker is aliased to podman in this environment, is that all that is needed?

@LEDfan
Copy link
Member

LEDfan commented Sep 20, 2022

Hi

ShinyProxy does not support podman. The reason is that ShinyProxy talks directly with Docker using the Docker API and not using the Docker CLI.

Note that it is possible to install Docker on a RHEL 8/9 based system since Docker provides a proper repo for it: https://docs.docker.com/engine/install/centos/ . However, this may not be feasible when using a Red Hat supported version.

I'll keep this issue open as a feature request, but to be honest with you, I don't think we will implement support for podman in the near future.

@raulbla
Copy link

raulbla commented Mar 12, 2023

Hi,
if this is still relevant we managed to make it work using:

  • tcp instead of unix socket for podman daemon (launched by user account)
  • running shinyproxy container with the option proxy.docker.internal-networking set to false, leaving proxy.docker.url to the default and passing the host network to the container .

The target host was a RHEL 8.6

@jpreber
Copy link

jpreber commented Apr 18, 2023

Hi raulbla,

Still relevant with us. We've run into the same issue when trying to move to a new server using RHEL 8.7 and found out Docker was not supported.

Do you use keycloak or other authentication in your setup? Would you be able to provide examples of the config files you used to accomplish this?

Thanks in advance,
John

@zack77789
Copy link

Hi raulbla,

Could you be more specific on how do you achieve use of tcp instead of unix socket for podman daemon (launched by user account) ... what exactly do you do ? What are the the right steps ?

Where do you specify proxy.docker.internal-networking proxy.docker.url values - in application.yml file ?

@leberkas
Copy link

Hello @raulbla & @zack77789 i'm also in need of more detailed instructions.

Would be great if you share the settings in the config files you changed.

Thanks :-)

@raulbla
Copy link

raulbla commented Oct 14, 2023

Sorry for late reply I do not check the account too frequently.
This is what worked so far:

Container application.yml

  proxy:
    title: Shiny Proxy
    port: 8080
    authentication: none
    container-wait-time: 200000
    my-apps-mode: inline
    docker:
        internal-networking: false
        url: http://localhost:2375

On the system (starting rootless podman):

# Start the port - it can be done with systemd too
/usr/bin/podman system service -t 0 tcp:127.0.0.1:2375 &
podman run --rm --name shinyproxy -it --net host localhost/shinyproxy:latest

I hope this helps.

@raulbla
Copy link

raulbla commented Oct 14, 2023

Regarding keycloak I have tested it with the bitnami implementation (https://hub.docker.com/r/bitnami/keycloak/) and by following the documentation it worked too.
As for the configuration I need to double check if I can share something meaningful.

@Aluriak
Copy link

Aluriak commented Oct 19, 2023

Hi everyone ! This issue is relevant for us. We are working with RHEL9, and for security reasons we must stick with podman.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants