[keycloak-user] How to stop the keycloak server from standalone sh

Aritz Maeztu amaeztu at tesicnor.com
Tue Nov 29 11:25:18 EST 2016


I'm running a keycloak instance from a docker image, so when I start the 
container everything is up an running. Now I want to export the realms 
and users to deploy it in production and I've got two chances:

1- Copy the values from the mysql database (I'm using the keycloak-mysql 

2- Run the standalone.sh export command.

I would like to go the second way, but I'm into trouble since the 
widlfly server is launched with the docker container altogether. I can 
browse in to it for the standalone.sh script, but still haven't found a 
way to stop it (as the server is launched I get a "Address already in 
use" error when I try to perform the export while the server is running).

Any ideas? Thanks in advance

Aritz Maeztu Otaño
Departamento Desarrollo de Software 

Pol. Ind. Mocholi. C/Rio Elorz, Nave 13E 31110 Noain (Navarra)
Telf. Aritz Maeztu: 948 68 03 06
Telf. Secretaría: 948 21 40 40

Antes de imprimir este e-mail piense bien si es necesario hacerlo: El 
medioambiente es cosa de todos.

More information about the keycloak-user mailing list