I’m trying to start a Keycloak oci container. Running:
incus launch oci-docker:keycloak/keycloak:26.0.5 keycloak-1 --ephemeral -c environment.KC_BOOTSTRAP_ADMIN_USERNAME=<username> -c environment.KC_BOOTSTRAP_ADMIN_PASSWORD=<password>
works fine but it needs a command to start. Namely start-dev
.
The docker equivalent is:
docker run -p 8080:8080 -e KC_BOOTSTRAP_ADMIN_USERNAME=admin -e KC_BOOTSTRAP_ADMIN_PASSWORD=admin quay.io/keycloak/keycloak:26.0.5 start-dev
Is there any way to send the start-dev
command to the container at startup?