<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00009zWKcYCAWOkta Classic EngineIntegrationsAnswered2025-05-31T09:00:30.000Z2024-02-06T01:11:41.000Z2024-02-06T23:21:40.000Z

e7wuh (e7wuh) asked a question.

Can we use Docker to run the Okta RADIUS Agent?

We are trying to create a Docker image to run the Okta RADIUS Agent. However, when building the image the agent installer is prompting for configuration details like the Okta tenant URL. Is there a way to install the Okta agent without having it prompt for the configuration details? We would then set the configuration after the agent is installed.

 

Here's our Dockerfile:

------------------------

FROM ubuntu:focal-20240123

COPY OktaRadiusAgentSetup-2.20.0.deb /opt

RUN apt install /opt/OktaRadiusAgentSetup-2.20.0.deb

CMD [ "/bin/sh","/opt/okta/ragent/scripts/okta_radius_agent.sh" ]

------------------------

 

When we do a build using "docker build -t oktaradius -f Dockerfile ." the process works until the agent installer prompts for the tenant URL. Even then, we can enter the URL but hitting enter does not cause the installation to accept the value and continue.

 

Are there any parameters we can pass to the agent installer or environment variables the installer will use?


  • User16594883467582706479 (Customer Support Online Experience)

    Hi, @e7wuh (e7wuh)​ 

     

    Thank you for posting on our Community page!

     

    Unattended installation of the Linux Radius Agent currently is not supported. The current process of installation requires admin interaction to authorize the agent on the Okta Tenant. 

     

    Thank you for reaching out to our Community and have a great day!

     

     

    Subscribe Today: The Okta Community is on YouTube

    _____________________________________________________________________________

    Community members help others by clicking Like or Select as Best on responses. Try it today.

    _____________________________________________________________________________

     

    Expand Post
  • e7wuh (e7wuh)

    Thank you for the reply. We actually decided to manually alter the installation deb file, and commented out the line in the postinst script so that the configuration script is not run after install. We then ran that script manually to generate the config.properties file, which we then just copy into the image at build time.

This question is closed.
Loading
Can we use Docker to run the Okta RADIUS Agent?