I am trying to deploy mongodb atlas locally on macOS Sequoia (container in Docker desktop) through “atlas deployments setup”.

Output is:
Creating your cluster mongodb-atlas-ostrich
1/3: Starting your local environment…
2/3: Downloading the latest MongoDB image to your local environment…
3/3: Creating your deployment mongodb-atlas-ostrich…
Error: container configuration failed: the deployment is unhealthy

No container shows up in Docker desktop. All diagnostics like docker logs say there’s nothing.

Also tried deploying through: docker run -p 27018:27017 mongodb/mongodb-atlas-local:latest

This creates a container, but that shuts down immediately after starting.

Same thing works flawlessly on Windows. Any idea how to fix this?

1 Like

@Patrick_Vermeij do you have issues with other Docker containers or Docker in general on Sequoia?

For example, does

docker run -p 27018:27017 mongo

work?

Yes. That works.
I also tried to deploy mongodb-atlas-local on Docker on a (VMware fusion) Linux virtual machine, on the same laptop. Getting the same error message:
Error: container configuration failed: the deployment is unhealthy

ok, thank you. We are looking into this.

We tried on Sequoia but could not reproduce the same behavior.

What version of Docker do you have?

@Patrick_Vermeij when you start the container with

docker run -p 27018:27017 mongodb/mongodb-atlas-local:latest

do you mind doing a docker inspect <containerId> and share the output here together with the container logs (docker logs <containerId>)?

You can also get inspect and logs from docker desktop:

Thanks. Below is the output. I changed the redhat URLs into --url-- placeholders as I cannot put more than 2 links in my post (new user).

Also have the output of docker run, too big to paste and cannot upload it (new user):

[
{
“Id”: “d1b6ce04c0d63d62bb2dd24a94bb3ccd614ba6f6721a732ca9b38f7d88e5f2cf”,
“Created”: “2024-12-20T01:04:23.630502885Z”,
“Path”: “/usr/local/bin/runner”,
“Args”: [
“server”
],
“State”: {
“Status”: “exited”,
“Running”: false,
“Paused”: false,
“Restarting”: false,
“OOMKilled”: false,
“Dead”: false,
“Pid”: 0,
“ExitCode”: 0,
“Error”: “”,
“StartedAt”: “2024-12-20T01:04:23.696921093Z”,
“FinishedAt”: “2024-12-20T01:04:25.942394969Z”,
“Health”: {
“Status”: “unhealthy”,
“FailingStreak”: 0,
“Log”:
}
},
“Image”: “sha256:8eb9bcd8b3f665cfe85bbc2852415469c57d630e4e33b00d93dbfbd7624189cd”,
“ResolvConfPath”: “/var/lib/docker/containers/d1b6ce04c0d63d62bb2dd24a94bb3ccd614ba6f6721a732ca9b38f7d88e5f2cf/resolv.conf”,
“HostnamePath”: “/var/lib/docker/containers/d1b6ce04c0d63d62bb2dd24a94bb3ccd614ba6f6721a732ca9b38f7d88e5f2cf/hostname”,
“HostsPath”: “/var/lib/docker/containers/d1b6ce04c0d63d62bb2dd24a94bb3ccd614ba6f6721a732ca9b38f7d88e5f2cf/hosts”,
“LogPath”: “/var/lib/docker/containers/d1b6ce04c0d63d62bb2dd24a94bb3ccd614ba6f6721a732ca9b38f7d88e5f2cf/d1b6ce04c0d63d62bb2dd24a94bb3ccd614ba6f6721a732ca9b38f7d88e5f2cf-json.log”,
“Name”: “/atlas-local”,
“RestartCount”: 0,
“Driver”: “overlayfs”,
“Platform”: “linux”,
“MountLabel”: “”,
“ProcessLabel”: “”,
“AppArmorProfile”: “”,
“ExecIDs”: null,
“HostConfig”: {
“Binds”: null,
“ContainerIDFile”: “”,
“LogConfig”: {
“Type”: “json-file”,
“Config”: {}
},
“NetworkMode”: “bridge”,
“PortBindings”: {
“27017/tcp”: [
{
“HostIp”: “”,
“HostPort”: “27018”
}
]
},
“RestartPolicy”: {
“Name”: “no”,
“MaximumRetryCount”: 0
},
“AutoRemove”: false,
“VolumeDriver”: “”,
“VolumesFrom”: null,
“ConsoleSize”: [
0,
0
],
“CapAdd”: null,
“CapDrop”: null,
“CgroupnsMode”: “private”,
“Dns”: ,
“DnsOptions”: ,
“DnsSearch”: ,
“ExtraHosts”: null,
“GroupAdd”: null,
“IpcMode”: “private”,
“Cgroup”: “”,
“Links”: null,
“OomScoreAdj”: 0,
“PidMode”: “”,
“Privileged”: false,
“PublishAllPorts”: false,
“ReadonlyRootfs”: false,
“SecurityOpt”: null,
“UTSMode”: “”,
“UsernsMode”: “”,
“ShmSize”: 67108864,
“Runtime”: “runc”,
“Isolation”: “”,
“CpuShares”: 0,
“Memory”: 0,
“NanoCpus”: 0,
“CgroupParent”: “”,
“BlkioWeight”: 0,
“BlkioWeightDevice”: ,
“BlkioDeviceReadBps”: ,
“BlkioDeviceWriteBps”: ,
“BlkioDeviceReadIOps”: ,
“BlkioDeviceWriteIOps”: ,
“CpuPeriod”: 0,
“CpuQuota”: 0,
“CpuRealtimePeriod”: 0,
“CpuRealtimeRuntime”: 0,
“CpusetCpus”: “”,
“CpusetMems”: “”,
“Devices”: ,
“DeviceCgroupRules”: null,
“DeviceRequests”: null,
“MemoryReservation”: 0,
“MemorySwap”: 0,
“MemorySwappiness”: null,
“OomKillDisable”: null,
“PidsLimit”: null,
“Ulimits”: ,
“CpuCount”: 0,
“CpuPercent”: 0,
“IOMaximumIOps”: 0,
“IOMaximumBandwidth”: 0,
“MaskedPaths”: [
“/proc/asound”,
“/proc/acpi”,
“/proc/kcore”,
“/proc/keys”,
“/proc/latency_stats”,
“/proc/timer_list”,
“/proc/timer_stats”,
“/proc/sched_debug”,
“/proc/scsi”,
“/sys/firmware”,
“/sys/devices/virtual/powercap”
],
“ReadonlyPaths”: [
“/proc/bus”,
“/proc/fs”,
“/proc/irq”,
“/proc/sys”,
“/proc/sysrq-trigger”
]
},
“GraphDriver”: {
“Data”: null,
“Name”: “overlayfs”
},
“Mounts”: [
{
“Type”: “volume”,
“Name”: “1589504f4b4a447fbee148d6f4cac8cd60c4c42bf1d855231527004078d09ab6”,
“Source”: “/var/lib/docker/volumes/1589504f4b4a447fbee148d6f4cac8cd60c4c42bf1d855231527004078d09ab6/_data”,
“Destination”: “/data/configdb”,
“Driver”: “local”,
“Mode”: “”,
“RW”: true,
“Propagation”: “”
},
{
“Type”: “volume”,
“Name”: “1d265378b0c84d527d08390ee9fd942772a5143ee6e40edd1c0b8b69e539f5f3”,
“Source”: “/var/lib/docker/volumes/1d265378b0c84d527d08390ee9fd942772a5143ee6e40edd1c0b8b69e539f5f3/_data”,
“Destination”: “/data/db”,
“Driver”: “local”,
“Mode”: “”,
“RW”: true,
“Propagation”: “”
}
],
“Config”: {
“Hostname”: “d1b6ce04c0d6”,
“Domainname”: “”,
“User”: “mongod”,
“AttachStdin”: false,
“AttachStdout”: true,
“AttachStderr”: true,
“ExposedPorts”: {
“27017/tcp”: {}
},
“Tty”: false,
“OpenStdin”: false,
“StdinOnce”: false,
“Env”: [
“PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/mongot”,
“container=oci”,
“TOOL=CONTAINER”
],
“Cmd”: [
“/usr/local/bin/runner”,
“server”
],
“Healthcheck”: {
“Test”: [
“CMD”,
“/usr/local/bin/runner”,
“healthcheck”
],
“Interval”: 30000000000,
“Timeout”: 60000000000,
“StartPeriod”: 60000000000,
“Retries”: 3
},
“Image”: “mongodb/mongodb-atlas-local:latest”,
“Volumes”: {
“/data/configdb”: {},
“/data/db”: {}
},
“WorkingDir”: “/”,
“Entrypoint”: null,
“OnBuild”: null,
“Labels”: {
“architecture”: “aarch64”,
“build-date”: “2024-12-18T04:52:16Z”,
“com.redhat.component”: “ubi9-minimal-container”,
“com.redhat.license_terms”: “–url–”,
“description”: “Container configured with a single node replicaset instance of MongoDB and Atlas Search”,
“distribution-scope”: “public”,
“io.buildah.version”: “1.38.0-dev”,
“io.k8s.description”: “The Universal Base Image Minimal is a stripped down image that uses microdnf as a package manager. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly.”,
“io.k8s.display-name”: “Red Hat Universal Base Image 9 Minimal”,
“io.openshift.expose-services”: “”,
“io.openshift.tags”: “minimal rhel9”,
“maintainer”: “support@mongodb.com”,
“mongodb-atlas-local”: “container”,
“mongodb-type”: “community”,
“name”: “MongoDB Atlas Local”,
“release”: “1734497536”,
“summary”: “MongoDB Atlas Local Container”,
“url”: “–url–”,
“vcs-ref”: “0724d65b854a0151fb7d10b0e6510d8aee28e115”,
“vcs-type”: “git”,
“vendor”: “MongoDB”,
“version”: “8.0.4”
}
},
“NetworkSettings”: {
“Bridge”: “”,
“SandboxID”: “”,
“SandboxKey”: “”,
“Ports”: {},
“HairpinMode”: false,
“LinkLocalIPv6Address”: “”,
“LinkLocalIPv6PrefixLen”: 0,
“SecondaryIPAddresses”: null,
“SecondaryIPv6Addresses”: null,
“EndpointID”: “”,
“Gateway”: “”,
“GlobalIPv6Address”: “”,
“GlobalIPv6PrefixLen”: 0,
“IPAddress”: “”,
“IPPrefixLen”: 0,
“IPv6Gateway”: “”,
“MacAddress”: “”,
“Networks”: {
“bridge”: {
“IPAMConfig”: null,
“Links”: null,
“Aliases”: null,
“MacAddress”: “”,
“DriverOpts”: null,
“NetworkID”: “1db921ae97c69e3c4e43e9666f358d911b1510a4838909755fc79134a9de7a74”,
“EndpointID”: “”,
“Gateway”: “”,
“IPAddress”: “”,
“IPPrefixLen”: 0,
“IPv6Gateway”: “”,
“GlobalIPv6Address”: “”,
“GlobalIPv6PrefixLen”: 0,
“DNSNames”: null
}
}
}
}
]

Try this and see if it works.

docker run -e JAVA_TOOL_OPTIONS="-XX:UseSVE=0" -p 27017:27017 mongodb/mongodb-atlas-local

That works (on the latest Docker image build). Hope this can be incorporated in the general release so that the extra JAVA_TOOL_OPTIONS is not required anymore.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.