moderntribe / square1-global-docker

SquareOne Global Docker is a command line application that provides a local development environment for projects based on the SquareOne Framework.
GNU General Public License v2.0
7 stars 1 forks source link

OrbStack system clock fix #136

Closed defunctl closed 1 year ago

defunctl commented 1 year ago

No longer throw a process exception if the system clock sync fails, which happens when running OrbStack.

In Response.php line 58:

  The command "docker run --rm --privileged alpine hwclock -s" failed.

  Exit Code: 1(General error)

  Working directory: /Users/xxxxx/Sites/myproject

  Output:
  ================

  Error Output:
  ================
  Unable to find image 'alpine:latest' locally
  latest: Pulling from library/alpine
  9fda8d8052c6: Pulling fs layer
  9fda8d8052c6: Verifying Checksum
  9fda8d8052c6: Download complete
  9fda8d8052c6: Pull complete
  Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a
  Status: Downloaded newer image for alpine:latest
  hwclock: can't open '/dev/misc/rtc': No such file or directory