On 8/4/22 4:54 AM, Hu, Xudong wrote:
Hello
I want to ask a question with using 389ds/dirsrv 389 Directory
Server Container in dockerhub
When I create 389ds database ,I use dsconf localhost backend create
*** command,it is OK
Now , I want to use docker-compose.yaml to start container,I set
parameter like this :
command: /bin/bash -c "sleep 20 && dsconf localhost backend create
****",but the error is as follows:
Error: Could not find configuration for instance: localhost
Thank you for reply
the usage is:
# dsconf "instance name" arg options
So your instance is probably not named "localhost". Check /etc/dirsrv/
and use whatever name you have chosen for your instance:
"slapd-<YOUR_INSTANCE_NAME>"
# dsconf slapd-YOUR_INSTANCE backend create ...
HTH,
Mark
_______________________________________________
389-users mailing list --389-users(a)lists.fedoraproject.org
To unsubscribe send an email to389-users-leave(a)lists.fedoraproject.org
Fedora Code of
Conduct:https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List
Guidelines:https://fedoraproject.org/wiki/Mailing_list_guidelines
List
Archives:https://lists.fedoraproject.org/archives/list/389-users@lists.fe...
Do not reply to spam, report it:https://pagure.io/fedora-infrastructure/new_issue
--
Directory Server Development Team