plugin-development-docker icon indicating copy to clipboard operation
plugin-development-docker copied to clipboard

Fresh build fails on mac mojave 10.14.5 (Docker 2.5.0.0)

Open ssolders opened this issue 5 years ago • 6 comments

Started up my Woocommerce setup after a month in hibernation and ran into http 500 when trying to browse the site - getting error logs of wp() being undefined.

Tried running a fresh setup by removing my current containers and running:

 ./clean.sh && 
  ./make.sh &&
  ./start.sh woocommerce-wordpress

The install looks fine but it fails to start. Sorry if this is an obvious mistake on my end, not that familiar with docker. It ends up running status-checks for http://woocommerce.wordpress.test indefinitely.

Screenshot 2020-11-17 at 09 45 13

ssolders avatar Nov 17 '20 08:11 ssolders

Yea, that issue was introduced with Docker 2.5.0+. We tried fixing this with the most recent patch, but it's still showing up. I can usually get around this by removing the containers and starting them again. Another workaround is downgrading Docker desktop.

Djennez avatar Nov 17 '20 08:11 Djennez

Okay! Thank you for the swift response! I'll try what you suggested. Much obliged kind sir!

ssolders avatar Nov 17 '20 08:11 ssolders

It'll still need fixing, workarounds aren't exactly userfriendly 😄 I'll reopen this to keep it on our radar.

Djennez avatar Nov 17 '20 09:11 Djennez

Pulling latest patch from master resolved my issue while still using docker 2.5.0, thanks! Update: Although got to the same issue as in the start after runnning a while. Gonna try and reverting docker to pre 2.5.X

ssolders avatar Nov 17 '20 10:11 ssolders

Oh, I have not tested this, but it seems that disabling "use gRPC FUSE" in Docker for Mac might also work around this: image

Djennez avatar Nov 17 '20 10:11 Djennez

Had to resolve to downgrading docker to 2.4.0

For mac:

  1. Close docker
  2. Download the image: https://docs.docker.com/docker-for-mac/release-notes/#docker-desktop-community-2400
  3. Open the dmg
  4. Drag into applications -> click replace
  5. Start docker + containers

ssolders avatar Nov 17 '20 12:11 ssolders