Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker/test/run.sh doesn't work on macOS #5772

Closed
guidoiaquinti opened this issue Jan 28, 2020 · 2 comments
Closed

docker/test/run.sh doesn't work on macOS #5772

guidoiaquinti opened this issue Jan 28, 2020 · 2 comments
Labels
good first issue Good issue for new contributors Type: Bug

Comments

@guidoiaquinti
Copy link
Member

Overview of the Issue

docker/test/run.sh doesn't work on macOS.

The script is trying to mount /dev/log that doesn't exist on macOS. We should probably use /var/run/syslog.

Reproduction Steps

Run docker/test/run.sh mysql57 "make build" on macOS.

Operating system and Environment details

  • Operating system: macOS Catalina 10.15.1
  • Kernel version (output of uname -sr): Darwin 19.0.0
  • Architecture (output of uname -m): x86_64

Log Fragments

It's true that the shared paths are not configured in my setup but the path doesn't exist anyway:

Digest: sha256:80e92d26248c1bd55d7119da429242e3a6f71cadfbd187d1b71e3463713cf5e4
Status: Downloaded newer image for vitess/bootstrap:mysql57
docker: Error response from daemon: Mounts denied:
The path /dev/log
is not shared from OS X and is not known to Docker.
You can configure shared paths from Docker -> Preferences... -> File Sharing.
See https://docs.docker.com/docker-for-mac/osxfs/#namespaces for more info.
@morgo morgo added the Type: Bug label Feb 4, 2020
@saifalharthi
Copy link
Contributor

@guidoiaquinti I change that line to /private/var/run:/dev/log to work around that.

@morgo morgo added the good first issue Good issue for new contributors label Apr 21, 2020
@gedgar
Copy link
Contributor

gedgar commented Sep 22, 2021

Closing this issue as it doesn't appear to be an issue on main, unable to reproduce via:

docker/test/run.sh mysql57 3 "make build"

I'll get a PR in to fix the examples in docker/test/run.sh to reflect the bootstrap versioning changes from #7182.

@gedgar gedgar closed this as completed Sep 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good issue for new contributors Type: Bug
Projects
None yet
Development

No branches or pull requests

4 participants