You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: couchbase/content.md
+10-8Lines changed: 10 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -22,24 +22,26 @@ Here is how to get a single node Couchbase Server cluster running on Docker cont
22
22
23
23
**Step - 1 :** Run Couchbase Server docker container
24
24
25
-
`docker run -d --name db -p 8091-8094:8091-8094 -p 11210:11210 couchbase`
25
+
`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`
26
+
27
+
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.
26
28
27
29
**Step - 2 :** Next, visit `http://localhost:8091` on the host machine to see the Web Console to start Couchbase Server setup.
**Note :** For detailed information on configuring the Server, see [Deployment Guidelines](https://docs.couchbase.com/server/current/install/install-production-deployment.html).
45
47
@@ -97,11 +99,11 @@ These ulimit settings are necessary when running under heavy load. If you are ju
97
99
98
100
To set the ulimits in your container, you will need to run Couchbase Docker containers with the following additional `--ulimit` flags:
99
101
100
-
`docker run -d --ulimit nofile=40960:40960 --ulimit core=100000000:100000000 --ulimit memlock=100000000:100000000 --name db -p 8091-8094:8091-8094 -p 11210:11210 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.
103
105
104
-
Note:The`--ulimit` flags only work on Docker 1.6 or later.
106
+
Note:The `--ulimit` flags only work on Docker 1.6 or later.
105
107
106
108
**Network Configuration and Ports :** Couchbase Server communicates on many different ports (see the [Couchbase Server documentation](https://docs.couchbase.com/server/current/install/install-ports.html#ports-listed-by-communication-path)). Also, it is generally not supported that the cluster nodes be placed behind any NAT. For these reasons, Docker's default networking configuration is not ideally suited to Couchbase Server deployments. For production deployments it is recommended to use `--net=host` setting to avoid performance and reliability issues.
0 commit comments