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

OCI Parameter support #1558

Open
msperl-github opened this issue Jan 5, 2025 · 2 comments
Open

OCI Parameter support #1558

msperl-github opened this issue Jan 5, 2025 · 2 comments
Labels
Feature New feature, not a bug
Milestone

Comments

@msperl-github
Copy link

msperl-github commented Jan 5, 2025

Hello,
I'd like to install Keycloak as Incus OCI image.
Download worked fine, but I cannot get the container to start because a parameter needs to be passed (see: https://www.keycloak.org/getting-started/getting-started-docker)
However, I've tried passing it via raw.lxc: lxc.execute.cmd="start-dev"
Also tried using raw.lxc: lxc.execute.cmd="kc.sh start-dev"
Container still complains about not having the right or any argument for kc.sh and exits.
Is there any workaround for this?

Distribution of Host: Debian 12
Version: stable (as of 2025-01-05)

# incus start --console keycloak

Keycloak - Open Source Identity and Access Management

Find more information at: https://www.keycloak.org/docs/latest

Usage: 

kc.sh [OPTIONS] [COMMAND]

Use this command-line tool to manage your Keycloak cluster.

[...]

Kernel: 6.1.0-28-amd64 (Debian default)
Storage backend: lvm

Thank you!

@stgraber
Copy link
Member

stgraber commented Jan 5, 2025

raw.lxc: lxc.execute.cmd=/opt/keycloak/bin/kc.sh start-dev

@stgraber
Copy link
Member

stgraber commented Jan 5, 2025

But yeah, I agree that having a proper way of handling the entry point command would be good as we don't really want folks messing with raw.lxc in general.

@stgraber stgraber added the Feature New feature, not a bug label Jan 5, 2025
@stgraber stgraber added this to the soon milestone Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature, not a bug
Development

No branches or pull requests

2 participants