Cannot Create independent Multiple Containers using different ports

#1

I want to use two independent multiple container in my mac for test purpose.
I already installed and using Couchbase Enterprise container version.
I need to run one more independent container of community version(or other enterprise version) in my single machine(mac).

I am not talking about a cluster mode. Rather, I want to use seperate containers to switch versions as needed. no need run simultaneously!

Because Enterprise version container is using default 8091 port, I had to change the port
docker run -d --name couch-community -p 9091:9091 -p 11310-11311:11310-11311 couchbase:community

The Container looks working but I cannot access admin dashboard like http://localhost:9091

I stopped the Enterprise container version. but still no working!
I’ve researched how to run multiple couchbases; no info.
I just found about Custom ports.
Seemingly, Couchbase container uses fixed port as default, right?
https://docs.couchbase.com/server/current/install/install-ports.html

So, is there any way to set up multiple independent couchbase containers?

docker inspect couch-community

“PortBindings”: {
“11310/tcp”: [
{
“HostIp”: “”,
“HostPort”: “11310”
}
],
“11311/tcp”: [
{
“HostIp”: “”,
“HostPort”: “11311”
}
],
“9091/tcp”: [
{
“HostIp”: “”,
“HostPort”: “9091”
}
],
“9092/tcp”: [
{
“HostIp”: “”,
“HostPort”: “9092”
}
],
“9093/tcp”: [
{
“HostIp”: “”,
“HostPort”: “9093”
}
],
“9094/tcp”: [
{
“HostIp”: “”,
“HostPort”: “9094”
}
],
“9095/tcp”: [
{
“HostIp”: “”,
“HostPort”: “9095”
}
],
“9096/tcp”: [
{
“HostIp”: “”,
“HostPort”: “9096”
}
]
},