[BUG] docker compose up - gets stuck when it is assigned as pgid
Description
This happens with latest docker compose version. Let me explain using images.
Older version
Latest version
Is this expected with latest version..?
Steps To Reproduce
- Install older docker compose version like in the image and run as specified in the image.
- Install latests docker compose version and run as specified in the image.
Compose Version
older - 2.29.1
Latest - 2.32.0
Docker Environment
charankamarapu@lima:express-mongoose$ docker info
Client: Docker Engine - Community
Version: 27.4.1
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.19.3
Path: /usr/libexec/docker/cli-plugins/docker-buildx
compose: Docker Compose (Docker Inc.)
Version: v2.32.0
Path: /home/charankamarapu.linux/.docker/cli-plugins/docker-compose
Server:
Containers: 3
Running: 0
Paused: 0
Stopped: 3
Images: 93
Server Version: 27.4.1
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Using metacopy: false
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: systemd
Cgroup Version: 2
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 207ad711eabd375a01713109a8a197d197ff6542
runc version: v1.2.1-0-gd7735e38
init version: de40ad0
Security Options:
apparmor
seccomp
Profile: builtin
cgroupns
Kernel Version: 6.1.0-28-cloud-arm64
Operating System: Debian GNU/Linux 12 (bookworm)
OSType: linux
Architecture: aarch64
CPUs: 4
Total Memory: 7.76GiB
Name: lima-debian
ID: 43682ee2-4ff7-4306-9493-ed6713cd0eb8
Docker Root Dir: /var/lib/docker
Debug Mode: false
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
Anything else?
No response
Hello @charankamarapu Can you share a simple compose file to reproduce the issue please?
you can try with this repo - https://github.com/keploy/samples-go/tree/main/gin-mongo
any update..?
Hello @charankamarapu I can't reproduce your issue with the proposed example, the app is starting properly on my side You can share, not via an screenshot if possible, the exact steps and commands you're running?
Steps to reproduce:
- Make sure your docker compose version is v2.31.0 or more.
- Run the docker compose file in https://github.com/keploy/samples-go/tree/main/gin-mongo using the command
docker compose up & pgid=$!
Sorry even when switching to version v2.31.0 and above I can't reproduce the issue. The application is running correctly on my side
~/test/issue-12413/samples-go/gin-mongo main > bat docker-compose.yaml 15:09:37
───────┬───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│ File: docker-compose.yaml
───────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
1 │ version: "3.9"
2 │ services:
3 │ go-app:
4 │ build:
5 │ context: .
6 │ container_name: ginMongoApp
7 │ ports:
8 │ - "8080:8080"
9 │ depends_on:
10 │ - mongo
11 │ networks:
12 │ - keploy-network
13 │
14 │ mongo:
15 │ image: "mongo"
16 │ container_name: mongoDB
17 │ ports:
18 │ - "27017:27017"
19 │ networks:
20 │ - keploy-network
21 │
22 │ networks:
23 │ keploy-network:
24 │ external: true
───────┴───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
~/test/issue-12413/samples-go/gin-mongo main > docker compose version 15:09:46
Docker Compose version v2.31.0
~/test/issue-12413/samples-go/gin-mongo main > docker compose up 15:09:52
WARN[0000] /Users/glours/test/issue-12413/samples-go/gin-mongo/docker-compose.yaml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion
[+] Running 2/0
✔ Container mongoDB Created 0.0s
✔ Container ginMongoApp Created 0.0s
Attaching to ginMongoApp, mongoDB
mongoDB | {"t":{"$date":"2025-01-16T14:10:02.621+00:00"},"s":"I", "c":"CONTROL", "id":23285, "ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"}
mongoDB | {"t":{"$date":"2025-01-16T14:10:02.621+00:00"},"s":"I", "c":"CONTROL", "id":5945603, "ctx":"main","msg":"Multi threading initialized"}
mongoDB | {"t":{"$date":"2025-01-16T14:10:02.621+00:00"},"s":"I", "c":"NETWORK", "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set at least one of the related parameters","attr":{"relatedParameters":["tcpFastOpenServer","tcpFastOpenClient","tcpFastOpenQueueSize"]}}
mongoDB | {"t":{"$date":"2025-01-16T14:10:02.622+00:00"},"s":"I", "c":"NETWORK", "id":4915701, "ctx":"main","msg":"Initialized wire specification","attr":{"spec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":25},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":25},"outgoing":{"minWireVersion":6,"maxWireVersion":25},"isInternalClient":true}}}
mongoDB | {"t":{"$date":"2025-01-16T14:10:02.623+00:00"},"s":"I", "c":"TENANT_M", "id":7091600, "ctx":"main","msg":"Starting TenantMigrationAccessBlockerRegistry"}
mongoDB | {"t":{"$date":"2025-01-16T14:10:02.623+00:00"},"s":"I", "c":"CONTROL", "id":4615611, "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":1,"port":27017,"dbPath":"/data/db","architecture":"64-bit","host":"c75f36f8abf2"}}
mongoDB | {"t":{"$date":"2025-01-16T14:10:02.623+00:00"},"s":"I", "c":"CONTROL", "id":23403, "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"8.0.4","gitVersion":"bc35ab4305d9920d9d0491c1c9ef9b72383d31f9","openSSLVersion":"OpenSSL 3.0.13 30 Jan 2024","modules":[],"allocator":"tcmalloc-google","environment":{"distmod":"ubuntu2404","distarch":"aarch64","target_arch":"aarch64"}}}}
mongoDB | {"t":{"$date":"2025-01-16T14:10:02.623+00:00"},"s":"I", "c":"CONTROL", "id":51765, "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"Ubuntu","version":"24.04"}}}
mongoDB | {"t":{"$date":"2025-01-16T14:10:02.623+00:00"},"s":"I", "c":"CONTROL", "id":21951, "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"net":{"bindIp":"*"}}}}
mongoDB | {"t":{"$date":"2025-01-16T14:10:02.624+00:00"},"s":"I", "c":"STORAGE", "id":22270, "ctx":"initandlisten","msg":"Storage engine to use detected by data files","attr":{"dbpath":"/data/db","storageEngine":"wiredTiger"}}
mongoDB | {"t":{"$date":"2025-01-16T14:10:02.624+00:00"},"s":"I", "c":"STORAGE", "id":22297, "ctx":"initandlisten","msg":"Using the XFS filesystem is strongly recommended with the WiredTiger storage engine. See http://dochub.mongodb.org/core/prodnotes-filesystem","tags":["startupWarnings"]}
mongoDB | {"t":{"$date":"2025-01-16T14:10:02.624+00:00"},"s":"I", "c":"STORAGE", "id":22315, "ctx":"initandlisten","msg":"Opening WiredTiger","attr":{"config":"create,cache_size=3406M,session_max=33000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,remove=true,path=journal,compressor=snappy),builtin_extension_config=(zstd=(compression_level=6)),file_manager=(close_idle_time=600,close_scan_interval=10,close_handle_minimum=2000),statistics_log=(wait=0),json_output=(error,message),verbose=[recovery_progress:1,checkpoint_progress:1,compact_progress:1,backup:0,checkpoint:0,compact:0,evict:0,history_store:0,recovery:0,rts:0,salvage:0,tiered:0,timestamp:0,transaction:0,verify:0,log:0],prefetch=(available=true,default=false),"}}
mongoDB | {"t":{"$date":"2025-01-16T14:10:03.069+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1737036603,"ts_usec":69498,"thread":"1:0xffff9f1a4040","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":34,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Recovering log 5 through 6"}}}
mongoDB | {"t":{"$date":"2025-01-16T14:10:03.125+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1737036603,"ts_usec":125501,"thread":"1:0xffff9f1a4040","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":34,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Recovering log 6 through 6"}}}
mongoDB | {"t":{"$date":"2025-01-16T14:10:03.199+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1737036603,"ts_usec":199313,"thread":"1:0xffff9f1a4040","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":34,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Main recovery loop: starting at 5/5632 to 6/256"}}}
mongoDB | {"t":{"$date":"2025-01-16T14:10:03.256+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1737036603,"ts_usec":256622,"thread":"1:0xffff9f1a4040","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":34,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Recovering log 5 through 6"}}}
mongoDB | {"t":{"$date":"2025-01-16T14:10:03.289+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1737036603,"ts_usec":289603,"thread":"1:0xffff9f1a4040","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":34,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Recovering log 6 through 6"}}}
mongoDB | {"t":{"$date":"2025-01-16T14:10:03.318+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1737036603,"ts_usec":318574,"thread":"1:0xffff9f1a4040","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":34,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"recovery log replay has successfully finished and ran for 249 milliseconds"}}}
mongoDB | {"t":{"$date":"2025-01-16T14:10:03.318+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1737036603,"ts_usec":318652,"thread":"1:0xffff9f1a4040","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":34,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Set global recovery timestamp: (0, 0)"}}}
mongoDB | {"t":{"$date":"2025-01-16T14:10:03.318+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1737036603,"ts_usec":318664,"thread":"1:0xffff9f1a4040","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":34,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Set global oldest timestamp: (0, 0)"}}}
mongoDB | {"t":{"$date":"2025-01-16T14:10:03.319+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1737036603,"ts_usec":319381,"thread":"1:0xffff9f1a4040","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":34,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"recovery rollback to stable has successfully finished and ran for 0 milliseconds"}}}
mongoDB | {"t":{"$date":"2025-01-16T14:10:03.320+00:00"},"s":"I", "c":"WTCHKPT", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1737036603,"ts_usec":320307,"thread":"1:0xffff9f1a4040","session_name":"WT_SESSION.checkpoint","category":"WT_VERB_CHECKPOINT_PROGRESS","category_id":7,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"saving checkpoint snapshot min: 1, snapshot max: 1 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 45"}}}
mongoDB | {"t":{"$date":"2025-01-16T14:10:03.321+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1737036603,"ts_usec":321963,"thread":"1:0xffff9f1a4040","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":34,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"recovery checkpoint has successfully finished and ran for 2 milliseconds"}}}
mongoDB | {"t":{"$date":"2025-01-16T14:10:03.321+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1737036603,"ts_usec":321985,"thread":"1:0xffff9f1a4040","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":34,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"recovery was completed successfully and took 252ms, including 249ms for the log replay, 0ms for the rollback to stable, and 2ms for the checkpoint."}}}
mongoDB | {"t":{"$date":"2025-01-16T14:10:03.323+00:00"},"s":"I", "c":"STORAGE", "id":4795906, "ctx":"initandlisten","msg":"WiredTiger opened","attr":{"durationMillis":699}}
mongoDB | {"t":{"$date":"2025-01-16T14:10:03.323+00:00"},"s":"I", "c":"RECOVERY", "id":23987, "ctx":"initandlisten","msg":"WiredTiger recoveryTimestamp","attr":{"recoveryTimestamp":{"$timestamp":{"t":0,"i":0}}}}
mongoDB | {"t":{"$date":"2025-01-16T14:10:03.326+00:00"},"s":"W", "c":"CONTROL", "id":22120, "ctx":"initandlisten","msg":"Access control is not enabled for the database. Read and write access to data and configuration is unrestricted","tags":["startupWarnings"]}
mongoDB | {"t":{"$date":"2025-01-16T14:10:03.326+00:00"},"s":"W", "c":"CONTROL", "id":9068900, "ctx":"initandlisten","msg":"For customers running the current memory allocator, we suggest changing the contents of the following sysfsFile","attr":{"allocator":"tcmalloc-google","sysfsFile":"/sys/kernel/mm/transparent_hugepage/defrag","currentValue":"madvise","desiredValue":"defer+madvise"},"tags":["startupWarnings"]}
mongoDB | {"t":{"$date":"2025-01-16T14:10:03.326+00:00"},"s":"W", "c":"CONTROL", "id":8640302, "ctx":"initandlisten","msg":"We suggest setting the contents of sysfsFile to 0.","attr":{"sysfsFile":"/sys/kernel/mm/transparent_hugepage/khugepaged/max_ptes_none","currentValue":511},"tags":["startupWarnings"]}
mongoDB | {"t":{"$date":"2025-01-16T14:10:03.326+00:00"},"s":"W", "c":"CONTROL", "id":8718500, "ctx":"initandlisten","msg":"Your system has glibc support for rseq built in, which is not yet supported by tcmalloc-google and has critical performance implications. Please set the environment variable GLIBC_TUNABLES=glibc.pthread.rseq=0","tags":["startupWarnings"]}
mongoDB | {"t":{"$date":"2025-01-16T14:10:03.326+00:00"},"s":"W", "c":"NETWORK", "id":5123300, "ctx":"initandlisten","msg":"vm.max_map_count is too low","attr":{"currentValue":262144,"recommendedMinimum":1677720,"maxConns":838860},"tags":["startupWarnings"]}
mongoDB | {"t":{"$date":"2025-01-16T14:10:03.326+00:00"},"s":"W", "c":"CONTROL", "id":8386700, "ctx":"initandlisten","msg":"We suggest setting swappiness to 0 or 1, as swapping can cause performance problems.","attr":{"sysfsFile":"/proc/sys/vm/swappiness","currentValue":60},"tags":["startupWarnings"]}
mongoDB | {"t":{"$date":"2025-01-16T14:10:03.327+00:00"},"s":"I", "c":"NETWORK", "id":4915702, "ctx":"initandlisten","msg":"Updated wire specification","attr":{"oldSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":25},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":25},"outgoing":{"minWireVersion":6,"maxWireVersion":25},"isInternalClient":true},"newSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":25},"incomingInternalClient":{"minWireVersion":25,"maxWireVersion":25},"outgoing":{"minWireVersion":25,"maxWireVersion":25},"isInternalClient":true}}}
mongoDB | {"t":{"$date":"2025-01-16T14:10:03.327+00:00"},"s":"I", "c":"REPL", "id":5853300, "ctx":"initandlisten","msg":"current featureCompatibilityVersion value","attr":{"featureCompatibilityVersion":"8.0","context":"startup"}}
mongoDB | {"t":{"$date":"2025-01-16T14:10:03.327+00:00"},"s":"I", "c":"STORAGE", "id":5071100, "ctx":"initandlisten","msg":"Clearing temp directory"}
mongoDB | {"t":{"$date":"2025-01-16T14:10:03.327+00:00"},"s":"I", "c":"CONTROL", "id":6608200, "ctx":"initandlisten","msg":"Initializing cluster server parameters from disk"}
mongoDB | {"t":{"$date":"2025-01-16T14:10:03.327+00:00"},"s":"I", "c":"CONTROL", "id":20536, "ctx":"initandlisten","msg":"Flow Control is enabled on this deployment"}
mongoDB | {"t":{"$date":"2025-01-16T14:10:03.328+00:00"},"s":"I", "c":"FTDC", "id":20625, "ctx":"initandlisten","msg":"Initializing full-time diagnostic data capture","attr":{"dataDirectory":"/data/db/diagnostic.data"}}
mongoDB | {"t":{"$date":"2025-01-16T14:10:03.329+00:00"},"s":"I", "c":"REPL", "id":6015317, "ctx":"initandlisten","msg":"Setting new configuration state","attr":{"newState":"ConfigReplicationDisabled","oldState":"ConfigPreStart"}}
mongoDB | {"t":{"$date":"2025-01-16T14:10:03.329+00:00"},"s":"I", "c":"STORAGE", "id":22262, "ctx":"initandlisten","msg":"Timestamp monitor starting"}
mongoDB | {"t":{"$date":"2025-01-16T14:10:03.329+00:00"},"s":"I", "c":"STORAGE", "id":7333401, "ctx":"initandlisten","msg":"Starting the DiskSpaceMonitor"}
mongoDB | {"t":{"$date":"2025-01-16T14:10:03.330+00:00"},"s":"I", "c":"NETWORK", "id":23015, "ctx":"listener","msg":"Listening on","attr":{"address":"/tmp/mongodb-27017.sock"}}
mongoDB | {"t":{"$date":"2025-01-16T14:10:03.330+00:00"},"s":"I", "c":"NETWORK", "id":23015, "ctx":"listener","msg":"Listening on","attr":{"address":"0.0.0.0:27017"}}
mongoDB | {"t":{"$date":"2025-01-16T14:10:03.330+00:00"},"s":"I", "c":"NETWORK", "id":23016, "ctx":"listener","msg":"Waiting for connections","attr":{"port":27017,"ssl":"off"}}
mongoDB | {"t":{"$date":"2025-01-16T14:10:03.330+00:00"},"s":"I", "c":"CONTROL", "id":8423403, "ctx":"initandlisten","msg":"mongod startup complete","attr":{"Summary of time elapsed":{"Startup from clean shutdown?":true,"Statistics":{"Set up periodic runner":"0 ms","Set up online certificate status protocol manager":"0 ms","Transport layer setup":"0 ms","Run initial syncer crash recovery":"0 ms","Create storage engine lock file in the data directory":"0 ms","Get metadata describing storage engine":"0 ms","Validate options in metadata against current startup options":"0 ms","Create storage engine":"699 ms","Write current PID to file":"0 ms","Initialize FCV before rebuilding indexes":"1 ms","Drop abandoned idents and get back indexes that need to be rebuilt or builds that need to be restarted":"0 ms","Rebuild indexes for collections":"0 ms","Load cluster parameters from disk for a standalone":"0 ms","Build user and roles graph":"0 ms","Set up the background thread pool responsible for waiting for opTimes to be majority committed":"0 ms","Start up the replication coordinator":"0 ms","Ensure the change stream collections on startup contain consistent data":"0 ms","Write startup options to the audit log":"0 ms","Start transport layer":"0 ms","_initAndListen total elapsed time":"707 ms"}}}}
mongoDB | {"t":{"$date":"2025-01-16T14:10:04.009+00:00"},"s":"W", "c":"CONTROL", "id":636300, "ctx":"ftdc","msg":"Use of deprecated server parameter name","attr":{"deprecatedName":"internalQueryCacheSize","canonicalName":"internalQueryCacheMaxEntriesPerCollection"}}
mongoDB | {"t":{"$date":"2025-01-16T14:10:04.009+00:00"},"s":"W", "c":"CONTROL", "id":636300, "ctx":"ftdc","msg":"Use of deprecated server parameter name","attr":{"deprecatedName":"oplogSamplingLogIntervalSeconds","canonicalName":"collectionSamplingLogIntervalSeconds"}}
mongoDB | {"t":{"$date":"2025-01-16T14:10:04.009+00:00"},"s":"W", "c":"NETWORK", "id":23803, "ctx":"ftdc","msg":"Use of deprecated server parameter 'sslMode', please use 'tlsMode' instead."}
mongoDB | {"t":{"$date":"2025-01-16T14:10:04.010+00:00"},"s":"W", "c":"CONTROL", "id":636300, "ctx":"ftdc","msg":"Use of deprecated server parameter name","attr":{"deprecatedName":"wiredTigerConcurrentReadTransactions","canonicalName":"storageEngineConcurrentReadTransactions"}}
mongoDB | {"t":{"$date":"2025-01-16T14:10:04.010+00:00"},"s":"W", "c":"CONTROL", "id":636300, "ctx":"ftdc","msg":"Use of deprecated server parameter name","attr":{"deprecatedName":"wiredTigerConcurrentWriteTransactions","canonicalName":"storageEngineConcurrentWriteTransactions"}}
ginMongoApp | PID: 6
ginMongoApp | [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
ginMongoApp |
ginMongoApp | [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
ginMongoApp | - using env: export GIN_MODE=release
ginMongoApp | - using code: gin.SetMode(gin.ReleaseMode)
ginMongoApp |
ginMongoApp | [GIN-debug] GET /:param --> main.getURL (3 handlers)
ginMongoApp | [GIN-debug] POST /url --> main.putURL (3 handlers)
mongoDB | {"t":{"$date":"2025-01-16T14:10:04.703+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.20.0.3:41758","uuid":{"uuid":{"$uuid":"b05af00c-89c0-4f80-9d2b-d31ed639c429"}},"connectionId":1,"connectionCount":1}}
mongoDB | {"t":{"$date":"2025-01-16T14:10:04.703+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.20.0.3:41768","uuid":{"uuid":{"$uuid":"d63cbc01-9dc9-4b12-b590-a7795e0884c0"}},"connectionId":2,"connectionCount":2}}
mongoDB | {"t":{"$date":"2025-01-16T14:10:04.704+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn2","msg":"client metadata","attr":{"remote":"172.20.0.3:41768","client":"conn2","negotiatedCompressors":[],"doc":{"driver":{"name":"mongo-go-driver","version":"v1.8.1"},"os":{"type":"linux","architecture":"arm64"},"platform":"go1.20.14"}}}
mongoDB | {"t":{"$date":"2025-01-16T14:10:04.704+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn1","msg":"client metadata","attr":{"remote":"172.20.0.3:41758","client":"conn1","negotiatedCompressors":[],"doc":{"driver":{"name":"mongo-go-driver","version":"v1.8.1"},"os":{"type":"linux","architecture":"arm64"},"platform":"go1.20.14"}}}
v View in Docker Desktop o View Config w Enable Watch
are you using macOS or any other os..?
and command is not just docker compose up it is docker compose up & pgid=$!
My bad, anyway it's the same result when adding the & pgid=$! on Mac
I'll do more tests on Ubuntu
Add parameters to your moongose connection i.e{ useNewUrlParser:true}... to remove the errors
Issue is caused by navigation menu. A simple workaround is to run docker compose up --menu=false & pgid=$!