Questions tagged [macos]

The command line and other Unix-like aspects of Apple's macOS

Apple's macOS (formerly known as OS X and Mac OS) is a Unix variant built on a Mach/BSD-based kernel and FreeBSD-based userland. On this site, we cover the DevOps-like aspects of the system, including the command-line interface, the filesystem, etc. Question about things that aren't Unix-like (including most of the graphical user interface) are covered at our sister site Ask Different.

22 questions
10
votes
2 answers

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

I've connected external HDD via USD on macOS, and I'm running Ubuntu's Docker container as: docker run -it --device=/dev/disk3 --privileged ubuntu bash but the device is not present in the container: # ls /dev/disk3 ls: cannot access '/dev/disk3':…
kenorb
  • 8,011
  • 14
  • 43
  • 80
7
votes
2 answers

How to move disk image in the command line?

As answered in this questions: Does Docker on MacOS support tmpfs? In order to run in memory docker, I need to move docker volumes to ramdisk. In macOS I can do it through docker preferences. However, I would like to write a script that could do it…
muhammad haris
  • 223
  • 2
  • 3
3
votes
2 answers

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

I am currently writing a script that deploys a number of applications to a local minikube cluster for development purposes. This script is working great on Linux, but then I tried it on Mac OSX. When starting minikube on Mac OSX instead of using the…
2
votes
1 answer

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

I'm trying to set up an Azure DevOps pipeline to build a macOS app. I think I have all the necessary steps in place, and it runs as far as I expect it to for now. However, I now have reached the step where, in order to sign the product, the build…
Ky -
  • 121
  • 4
2
votes
1 answer

How to downgrade Jinja for Ansible?

I'm using Ansible 2.8.0 (ansible --version installed by brew on macOS) which is using Jinja 2.10. I've tried to downgrade Jinja to 2.8 via pip3 install jinja2==2.8, and I can confirm the right version with pip3 list, but Ansible is still using Jinja…
kenorb
  • 8,011
  • 14
  • 43
  • 80
2
votes
0 answers

Using docker cloud from jenkins running on local osx docker

Hopefully someone can help, I've found lots of information online but as I'm brand new to both jenkins and docker, I'm having a hard time sorting out which suggested solutions happen on the what machine, so I'm cargo culting without any…
Iain Duncan
  • 121
  • 3
2
votes
2 answers

How do developers handle developing large scaled dockerized applications locally?

I am currently working on a fairly large scale project (upwards of 250 docker containers), which has complexe dependencies on multiple APIs and front-end applications. The staging and production infrastructures are running on Kubernetes. My team is…
Purplefish32
  • 123
  • 4
1
vote
1 answer

Testing R package on Travis fails because of TeXLive incompatible versions

I am writing an R package and using Travis for Continuous Integration. The tests on macOS fail because the system has a newer version of TeXLive and is unable to install the inconsolata font to build vignettes. The Travis logs show: sudo tlmgr…
ginjaemocoes
  • 181
  • 5
1
vote
1 answer

Gitlab Runner setup issues on Mac Mini with M2 processor

I have a pair of Mac Minis with M2 processors that I am trying to setup as runners on a locally hosted gitlab setup. For a variety of other systems I simply followed the instructions on the runners page. When I select Mac and Arm64 here are the…
Sqeaky
  • 121
  • 6
1
vote
1 answer

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

I'm trying to a gitlab/gitlab-ce image up and running with docker-compose on macOS (Big Sur) (docker-compose up -d). I'm using docker-machine with the virtualBox driver. However, when starting the container I get the following error: ERROR: for web…
Byron
  • 111
  • 3
1
vote
1 answer

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

I followed a guide to setup a simple GitLab runner on my 2020 mac Mini with an M1 processor. Everything builds great except for iOS. My error: Xcode build done. 33.0s Built…
beansbeans
  • 121
  • 3
1
vote
1 answer

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

I can't get it to work on my Mac (catalina version 10.15.2). \u works on ubuntu when I test it but not on my Mac. I want to customize my mac terminal. Colors work fine on my Mac and it's reading the .bashrc file when I test it by source .bashrc …
doug
  • 523
  • 2
  • 6
  • 15
0
votes
1 answer

Safari test automation using Robot Framework via Jenkins

I spent about one week trying to make my Robot Framework tests work for Safari browser in MacOS, when launched by Jenkins via ssh. The main issue was that Robot couldn't open a browser when executed in ssh session, reporting "No browser is…
Vladimir T
  • 101
  • 1
0
votes
1 answer

Cross-CI on Windows and Mac

I am deploying CI with several runners - however they are all based on the Docker executor on Linux. Is it possible to use Linux runners to test applications on Windows or Mac instead? I understand I could use the VirtualBox executor and have a…
0
votes
2 answers

Create clean/blank MacOS fs on MacOS or Linux

In developing/testing OSS libraries I can replicate a clean Linux fs using containers. However, if I want to test oss libs for MacOS end users, I seem to be in a bit of a quandary. Is there any way to create a clean fs on MacOS that I can test…
Alexander Mills
  • 395
  • 1
  • 3
  • 11
1
2