Open utkarsh-1905 opened 6 months ago
Rapidfort image => rapidfort/couchdb-official:3.3.3
Tested against => couchdb:3.3
Edit: I believe adding the env command with its deps would fix the error and help the script run
There is also a coverage error here (in test script) since its only checking -h flag which is a bash script which runs fine, but the actual command does not run because of the missing env
package
Name and Version
rapidfort/couchdb-official:3.3.3
Which runtime are you using to reproduce this issue?
Is this issue reproducible on the original source image?
Reproducible
Could you please identify the category? Details in TROUBLE_SHOOTING.md
RF Error
What steps will reproduce the bug?
Run the container using
docker run -d --name rcdb-3 -p 5984:5984 -p 4368:4369 -e COUCHDB_SECRET=hello -e COUCHDB_USER=admin -e COUCHDB_PASSWORD=password -e ERL_FLAGS="-setcookie brumbrum" rapidfort/couchdb-official:3.3.3
and then try entering the erlang shell usingdocker exec -it rcdb-3 /opt/couchdb/bin/remsh
Are you using any custom parameters or values?
No
What is the expected behavior?
What do you see instead?
/opt/couchdb/bin/remsh: 131: exec: env: not found
env command is not available in the container
Additional information
The remsh shell is a utility used to connect with other nodes when couchdb is working in a cluster setup