Skip to main content

Questions tagged [macos]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

Remove trailing space in Mac OS hostname?

I'm trying to run Prometheus on my Mac, but I get the following MyHostName $ prometheus --config.file=prometheus.yaml parse external URL "": parse "http://MyHostName :9090/": ...
Chris F's user avatar
  • 475
0 votes
1 answer
95 views

How to setup Mac Studio to host multiple Jenkins agents

I am responsible for the administration of a Jenkins and its infrastructure. We have several software projects that rely on specific Xcode versions and with that rely on specific macOS versions. Now I ...
PrkwyDrv's user avatar
0 votes
1 answer
619 views

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

Essentially what the subject says. I need Xamarin components in order to build some Xamarin/iOS libs that can only be build on MacOS (using sharpie etc). Currently I'm using MacOS12 (which does have ...
XDS's user avatar
  • 103
1 vote
1 answer
1k views

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 ...
Sqeaky's user avatar
  • 121
0 votes
1 answer
869 views

Docker MongoDB container endlessly restarts on macOS

The MongoDB docker container infinitely restarts every few seconds on local docker env, even though it used to work. Env: macOS 13.2.1, docker 4.17.0, Engine: 20.10.23, Compose: 1.29.2, Credential ...
Talchu's user avatar
  • 1
0 votes
1 answer
5k views

Docker warning about platform not matching the host platform

I have a Dockerfile that works on both mac and windows. But when I create an actual container on mac, I always get a warning that says: PS /Users/me/> docker run -it platformtest /bin/bash WARNING:...
dot's user avatar
  • 115
0 votes
2 answers
745 views

Mac M1 Docker Desktop no longer launches

I’ve been using Docker Desktop on my Mac M1 for over a year without trouble and just today it seems to have stopped working. It may have coincided with an update. When trying to open Docker Desktop by ...
Manachi's user avatar
  • 101
2 votes
2 answers
1k views

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 ...
Hannes Knutsson's user avatar
0 votes
2 answers
85 views

Specify image in Dockerfile based on building client platform/architecture

I have a somewhat specific, Swift-based problem. It seems that none of the official Swift images on Dockerhub support the M1, and instead the only seemingly reliable arm64 Swift images are found at ...
JMA's user avatar
  • 101
2 votes
2 answers
116 views

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 ...
Purplefish32's user avatar
0 votes
1 answer
833 views

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

I run a docker image with a bind-mount pointing to a non-existing host directory. The docker image then created data into that volume, wherever it may be. The data is accessible on every docker run. ...
bebbi's user avatar
  • 101
1 vote
1 answer
2k views

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 ...
Byron's user avatar
  • 111
1 vote
1 answer
2k views

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. ...
beansbeans's user avatar
1 vote
1 answer
71 views

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 ....
doug's user avatar
  • 523
0 votes
1 answer
470 views

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 ...
Vladimir T's user avatar
0 votes
1 answer
78 views

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 ...
Paulo Matos's user avatar
2 votes
1 answer
903 views

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 ...
Ky -'s user avatar
  • 121
2 votes
1 answer
2k views

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 ...
kenorb's user avatar
  • 7,981
1 vote
1 answer
154 views

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 ...
emonigma's user avatar
  • 181
0 votes
2 answers
32 views

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 ...
Alexander Mills's user avatar
10 votes
2 answers
10k views

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:...
kenorb's user avatar
  • 7,981
2 votes
0 answers
445 views

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 ...
Iain Duncan's user avatar
7 votes
2 answers
764 views

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, ...
muhammad haris's user avatar