Skip to main content
5 votes
Accepted

How to pass a /dev/disk device on macOS into Linux Docker?

Docker was built for linux, it runs on Mac through HyperkIT, which is a lightweight hypervisor. This means Docker only sees devices connected to the hyperkit hypervisor, rather than the devices ...
rusty009's user avatar
  • 166
3 votes
Accepted

Is \u the only way to output the user from .bashrc?

With the release of macOS Catalina (10.15) Apple has switched to Zsh as default shell (instead of Bash). Instead of setting PS1 in Bash you can set PROMPT in Zsh: PROMPT="${orange}%n"
Paidhi's user avatar
  • 326
2 votes

Create clean/blank MacOS fs on MacOS or Linux

I don't think you can containerize MacOS, but you could create a Mac OS VM and snapshot it, that way you can easily restore to the same exact Mac OS version for each test.
Brandon Helwig's user avatar
2 votes

How to pass a /dev/disk device on macOS into Linux Docker?

As per @pgayvallet comment on GitHub: As the daemon runs inside a VM in Docker Desktop, it is not possible to actually share a mac host device with the container inside the VM, and this will most ...
kenorb's user avatar
  • 7,901
2 votes

How to move disk image in the command line?

Docker is running in a VM on MacOS. One of your options is to put the entire VM on a tmpfs. You could use this shell script to create and mount the ramdisk: https://gist.github.com/koshigoe/822455 ...
Jiri Klouda's user avatar
  • 5,807
1 vote
Accepted

Azure Pipelines: How to install Xamarin components (for iOS & Android) on MacOS13 to make msbuild work in terms of building a Xamarin/C# project

It looks like your problem references this issue #7635. According to this post you can use: VERSION=6.12.0.182 MONO_FOLDER_NAME=$(echo $VERSION | cut -d. -f 1,2,3) PKG_URL="https://download.mono-...
Denis's user avatar
  • 26
1 vote
Accepted

Gitlab Runner setup issues on Mac Mini with M2 processor

There were several errors. The log files weren't writable. Either set permissions or change to some writable place. I set it /Users/$USERNAME/.gitlab-runner/gitlab-runner.{out,err}.log Ran the ...
Sqeaky's user avatar
  • 121
1 vote
Accepted

Is it possible to make the minikube VM use the VPN configuration from the host machine?

In my case this problem was when using OSX, so this answer may not work on other operating systems. Adding the flag --hyperkit-vpnkit-sock=auto on minikube start solved the problem for me. This limits ...
Hannes Knutsson's user avatar
1 vote

Specify image in Dockerfile based on building client platform/architecture

---build-arg Set build-time variables it is possible to build with arch parameter depending on this arch is whether host arch or docker image arch.
hakkican's user avatar
  • 251
1 vote
Accepted

How do developers handle developing large scaled dockerized applications locally?

TL;DR : you need a shared integration environment There are a lot of moving parts here, so giving explicit advice on what to do might be quite impossible. When you're faced with a complex situation, ...
Bruce Becker's user avatar
  • 3,613
1 vote

Run docker with bind-mount pointing to non-existent host folder: Where is the data?

I have been using Linux and since Docker volume caches the data, it is merely persistent until you remove it manually. In RHEL8, /var/lib/docker/volumes/, this is where all the volume mounts are ...
Divyaansh Jain's user avatar
1 vote

Docker compose up, Error starting userland proxy: listen tcp 0.0.0.0:22: bind: address already in use

It is a quirk of the fact that macOS does not have native docker, and thus all(?) implementations have a backing virtual machine in which the Linux kernel and dockerd are running (something that I ...
mdaniel's user avatar
  • 146
1 vote

GitLab CI/CD and building on Mac Mini with M1 Processor - Provision Profile

I needed to change the distribution type. Thanks!
beansbeans's user avatar
1 vote

Safari test automation using Robot Framework via Jenkins

Do you run selenium as a separate process? I had the same issue if you are not running selenium in the background. (edit) Try java -jar selenium-XX.XX.jar in terminal. After that run pabot or robot ...
Tsvetan Tsvetkov's user avatar
1 vote
Accepted

Cross-CI on Windows and Mac

There are some fundamental misunderstandings in your bullets which makes your question unclear: Apple will not allow you to develop/build using a virtual system. I believe this is a legal constraint....
Wesley Rolnick's user avatar
1 vote

How do I get the UUID of a build Mac from Azure DevOps?

These steps in the Azure DevOps docs may be helpful: Sign Your Mobile App. Basically you should be able to generate your p12 and provisioning profile on a mac you control, and then using the "Install ...
Wesley Rolnick's user avatar
1 vote
Accepted

How to downgrade Jinja for Ansible?

Since Ansible was installed via Homebrew on macOS, the workaround is to install Ansible using Pip. $ brew remove ansible $ pip3 install ansible $ pip3 list | grep -e ansible -e Jinja2 ansible 2....
kenorb's user avatar
  • 7,901
1 vote

Testing R package on Travis fails because of TeXLive incompatible versions

This issue is due to the CTAN mirrors having yet to update. The issue appears in the Travis R community forum: might be related to the recent switch to TexLive-2019 as the LaTeX package manager ...
emonigma's user avatar
  • 181

Only top scored, non community-wiki answers of a minimum length are eligible