Docker Community Forums

Share and learn in the Docker community.

Admin & password requested?

Hi,
i am running docker on Synology and wanted to run couchdb on it.
The container always stops after a short time and in the protocol i see this error message:
CouchDB 3.0+ will no longer run in “Admin Party”
mode. You MUST specify an admin user and
password, either via your own .ini file mapped
into the container at /opt/couchdb/etc/local.ini
stdout
or inside /opt/couchdb/etc/local.d, or with
stdout
e COUCHDB_USER=admin -e COUCHDB_PASSWORD=password"
to set it via “docker run”.

How can i handle this problem (sorry, i am very new to docker!)

Then search for the parts of the error message and find this: Docker Hub

You have got three solutions in the error message to configure username and password. Chose one of them.

You must learn the basics of Docker. Otherwise we cannot even help you since you would not understand.

Two relevant links:

1.) Use bind mounts | Docker Documentation
2.) docker run | Docker Documentation

Example:

docker run -e COUCHDB_USER=admin -e COUCHDB_PASSWORD=password -d couchdb

This is only an example to show you the environment variables.

Thanks for your answer!

see below!

Greetings
Peter

rimelek Ákos Takács
November 15
pawihd:
How can i handle this problem (sorry, i am very new to docker!)

Then search for the parts of the error message and find this: Docker Hub

You have got three solutions in the error message to configure username and password. Chose one of them.
I tried to follow the hints in the error message, at least i tried it with the proposed cmd:

docker run -e COUCHDB_USER= -e COUCHDB_PASSWORD= -d couchdb

(i used user & password according to my synology (or should i have used others?)
but this returned the error message „cmd needs parameters“!?
How to write an ini-file and where to place it, is presently beyond my knowledge, sorry

You must learn the basics of Docker. Otherwise we cannot even help you since you would not understand.
You are certainly right, but it seems that there is more than the basics!?

Example:

docker run -e COUCHDB_USER=admin -e COUCHDB_PASSWORD=password -d couchdb

This is only an example to show you the environment variables.
This is exactly what i tried!“
By the way, i run docker in my Synology NAS and i connected via SSH and placed the cmd there. Correct?