Closed sonnykt closed 3 months ago
Updates:
I noticed that when there is at least one Lagoon-based project running (with docker compose up
), pygmy
command runs as fast as expected. Stopping ALL Lagoon-based projects will make pygmy
slow again. I can reproduce this behaviour on both Docker 4.29 and 4.28.
ooh - that helps @sonnykt - I can reproduce on my M1, so will dig in a bit.
We've been looking into this in the background, just trying to get a debug handle on where the slowness is...
and then Docker released 4.30, and it seems to be fine again 🤷
tobybellwood@toby-macos drupal-opensearch % time pygmy status
[*] amazeeio-dnsmasq is able to start on port 6053
[*] amazeeio-haproxy is able to start on port 80
[*] amazeeio-haproxy is able to start on port 443
[*] amazeeio-mailhog is able to start on port 1025
[ ] amazeeio-mailhog is not running
[ ] amazeeio-ssh-agent is not running
[ ] amazeeio-dnsmasq is not running
[ ] amazeeio-haproxy is not running
[*] Resolv MacOS Resolver is properly connected
pygmy status 0.26s user 0.08s system 28% cpu 1.231 total
tobybellwood@toby-macos drupal-opensearch % docker version
Client:
Cloud integration: v1.0.35+desktop.13
Version: 26.1.1
API version: 1.45
Go version: go1.21.9
Git commit: 4cf5afa
Built: Tue Apr 30 11:44:56 2024
OS/Arch: darwin/arm64
Context: desktop-linux
Server: Docker Desktop 4.30.0 (149282)
Engine:
Version: 26.1.1
I can confirm that. I had also the problem with the long running startup and now with the version 4.30 everything runs smooth again! 🎉
COnfirming that the issue disappears on Docker Desktop 4.30.
Closing this issue as it no longer occurs with Pygmy 0.13 and Docker Desktop 4.33.
Describe the bug Since I upgraded to Docker Desktop 4.29, all pygmy commands take at least 5 minutes to complete.
pygmy status
takes 5min,pygmy start
takes 12min.Removing all Pygmy docker images/containers doesn't resolve the issue.
To Reproduce Steps to reproduce the behavior:
Output A copy of the terminal/shell output where possible/useful.
Additional context
pygmy start
command completes, all lagoon Docker-based projects can use the DNS resolver.pygmy status
command responds immediately.Exported configuration
Run
pygmy export --output output.yml
and print the contents fromoutput.yml
below: