Update forwarded ports in example docker run commands (#2224)
* Update ports in example docker run commands
This commit is contained in:
parent
1b9284ece5
commit
be985b17d8
|
|
@ -22,7 +22,7 @@ Here is how to get a single node Couchbase Server cluster running on Docker cont
|
|||
|
||||
**Step - 1 :** Run Couchbase Server docker container
|
||||
|
||||
`docker run -d --name db -p 8091-8097:8091-8097 -p 11210:11210 -p 11207:11207 -p 18091-18095:18091-18095 -p 18096:18096 -p 18097:18097 couchbase`
|
||||
`docker run -d --name db -p 8091-8097:8091-8097 -p 9123:9123 -p 11210:11210 -p 11280:11280 -p 11207:11207 -p 18091-18095:18091-18095 -p 18096:18096 -p 18097:18097 couchbase`
|
||||
|
||||
Note: Couchbase Server can require a variety of ports to be exposed depending on the usage scenario. Please see https://docs.couchbase.com/server/current/install/install-ports.html for further information.
|
||||
|
||||
|
|
@ -99,7 +99,7 @@ These ulimit settings are necessary when running under heavy load. If you are ju
|
|||
|
||||
To set the ulimits in your container, you will need to run Couchbase Docker containers with the following additional `--ulimit` flags:
|
||||
|
||||
`docker run -d --ulimit nofile=40960:40960 --ulimit core=100000000:100000000 --ulimit memlock=100000000:100000000 --name db -p 8091-8097:8091-8097 -p 11210:11210 -p 11207:11207 -p 18091-18095:18091-18095 -p 18096:18096 -p 18097:18097 couchbase`
|
||||
`docker run -d --ulimit nofile=40960:40960 --ulimit core=100000000:100000000 --ulimit memlock=100000000:100000000 --name db -p 8091-8097:8091-8097 -p 9123:9123 -p 11210:11210 -p 11280:11280 -p 11207:11207 -p 18091-18095:18091-18095 -p 18096:18096 -p 18097:18097 couchbase`
|
||||
|
||||
Since "unlimited" is not supported as a value, it sets the core and memlock values to 100 GB. If your system has more than 100 GB RAM, you will want to increase this value to match the available RAM on the system.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue