macOS Monterey version 12.6.5 (21G531)
chip Apple M1 Pro
Docker version 20.10.21, build baeda1f
My docker-compose.yml
version: "3"
services:
couchbase:
container_name: my_couchbase
platform: linux/amd64
image: couchbase/server:community-6.0.0
ports:
- 8091-8093:8091-8093
- 11210:11210
When the container is started, I try to create buckets using curl
, but with no success. The list of processes inside the container looks following
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 13:50 ? 00:00:00 /usr/bin/qemu-x86_64 /usr/bin/runsvdir runsvdir -P /etc/service log: ..................................................
root 91 1 0 13:50 ? 00:00:00 /usr/bin/qemu-x86_64 /usr/bin/runsv runsv couchbase-server
root 94 91 98 13:50 ? 00:00:34 /usr/bin/qemu-x86_64 /usr/bin/chpst chpst -ucouchbase /opt/couchbase/bin/couchbase-server -- -kernel global_enable_trac
root 107 0 0 13:51 pts/0 00:00:00 /usr/bin/qemu-x86_64 /bin/sh /bin/sh
root 114 107 0 12:54 ? 00:00:00 ps -ef
At the same time on my Linux machine, the list of processes looks different
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 13:22 ? 00:00:00 runsvdir -P /etc/service log: .........................................................................................................................
root 40 1 0 13:22 ? 00:00:00 runsv couchbase-server
couchba+ 41 40 0 13:22 ? 00:00:00 /opt/couchbase/lib/erlang/erts-5.10.4.0.0.1/bin/beam.smp -A 16 -- -root /opt/couchbase/lib/erlang -progname erl -- -home /tmp -- -smp enable -kernel in
couchba+ 89 1 0 13:22 ? 00:00:00 /opt/couchbase/lib/erlang/erts-5.10.4.0.0.1/bin/epmd -daemon
couchba+ 164 41 56 13:22 ? 00:01:51 /opt/couchbase/lib/erlang/erts-5.10.4.0.0.1/bin/beam.smp -A 16 -sbt u -P 327680 -K true -swt low -MMmcs 30 -e102400 -- -root /opt/couchbase/lib/erlang
couchba+ 202 164 0 13:22 ? 00:00:00 sh -s disksup
couchba+ 203 164 0 13:22 ? 00:00:00 /opt/couchbase/lib/erlang/lib/os_mon-2.2.14/priv/bin/memsup
couchba+ 204 164 0 13:22 ? 00:00:00 /opt/couchbase/lib/erlang/lib/os_mon-2.2.14/priv/bin/cpu_sup
couchba+ 206 164 0 13:22 ? 00:00:00 inet_gethost 4
couchba+ 207 206 0 13:22 ? 00:00:00 inet_gethost 4
couchba+ 208 164 2 13:22 ? 00:00:05 /opt/couchbase/lib/erlang/erts-5.10.4.0.0.1/bin/beam.smp -P 327680 -K true -- -root /opt/couchbase/lib/erlang -progname erl -- -home /tmp -- -pa /opt/c
couchba+ 244 208 0 13:22 ? 00:00:00 sh -s disksup
couchba+ 245 208 0 13:22 ? 00:00:00 /opt/couchbase/lib/erlang/lib/os_mon-2.2.14/priv/bin/memsup
couchba+ 246 208 0 13:22 ? 00:00:00 /opt/couchbase/lib/erlang/lib/os_mon-2.2.14/priv/bin/cpu_sup
couchba+ 257 208 1 13:22 ? 00:00:02 /opt/couchbase/bin/priv/godu
couchba+ 258 164 0 13:22 ? 00:00:00 sh -s ns_disksup
couchba+ 259 164 0 13:22 ? 00:00:00 /opt/couchbase/bin/priv/godu
couchba+ 267 41 0 13:22 ? 00:00:00 /opt/couchbase/bin/saslauthd-port
couchba+ 268 164 0 13:22 ? 00:00:00 portsigar for ns_1@127.0.0.1
couchba+ 269 41 0 13:22 ? 00:00:00 /opt/couchbase/bin/goport -graceful-shutdown=false -window-size=524288
couchba+ 270 41 19 13:22 ? 00:00:37 /opt/couchbase/bin/memcached -C /opt/couchbase/var/lib/couchbase/config/memcached.json
couchba+ 279 269 0 13:22 ? 00:00:00 /opt/couchbase/bin/goxdcr -sourceKVAdminPort=8091 -xdcrRestPort=9998 -isEnterprise=false -ipv6=false
couchba+ 343 41 0 13:22 ? 00:00:00 /opt/couchbase/bin/goport -graceful-shutdown=false -window-size=524288
couchba+ 360 343 0 13:22 ? 00:00:00 /opt/couchbase/bin/projector -kvaddrs=127.0.0.1:11210 -adminport=:9999 -diagDir=/opt/couchbase/var/lib/couchbase/crash -ipv6=false 127.0.0.1:8091
couchba+ 365 208 0 13:22 ? 00:00:00 inet_gethost 4
couchba+ 398 365 0 13:22 ? 00:00:00 inet_gethost 4
root 541 0 0 13:26 pts/0 00:00:00 bash
root 552 541 0 13:26 pts/0 00:00:00 ps -ef
This makes me think that couchbase
user isn’t created during container startup on Mac. Are there any tweaks to solve the issue?