Questions tagged [docker]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
2 answers
200 views

docker: 'compose' is not a docker command

I installed the docker-engine in macOS from https://docs.docker.com/desktop/install/mac-install/ which says, The Docker Desktop installation includes Docker Engine, Docker CLI client, Docker Compose, ...
xpt's user avatar
  • 363
0 votes
1 answer
117 views

Has anyone gotten `squashfs` working in docker on macOS version 14.3 using Docker Desktop?

I am currently using a Docker container that requires squashfs to create the file system. The container fails to start up correctly and displays this in the logs: 2024-02-01 08:09:53 mount: /mnt/sqfs: ...
Wimateeka's user avatar
  • 363
0 votes
0 answers
27 views

What could cause a Docker container using Rosetta to get stuck at 100% CPU with huge `sendmsg` call traces?

I am running a linux/amd64 container in Docker on an arm64 macbook running macos 14.1. Within that container I am doing a yarn build (using node.js and other tools) on a codebase I am developing which ...
Sparr's user avatar
  • 1,119
1 vote
0 answers
199 views

macOS 14.1.2 firewall blocking Colima from running

I have macOS 14.1.2 with the Firewall turned on, but not set to block all Firewall is enabled. (State = 1) Block all DISABLED! Automatically allow signed built-in software ENABLED Automatically allow ...
NHunter's user avatar
  • 11
2 votes
2 answers
4k views

Docker Desktop app for Apple Silicon requires Rosetta 2. Why?

After installing Docker Desktop app version 4.25 on my MacBook Pro running macOS Sonoma, I was prompted to install Rosetta 2. I verified that I had indeed downloaded the version of Docker Desktop for ...
Basil Bourque's user avatar
2 votes
1 answer
488 views

Base macOS Docker images

I'm just getting started with running Docker on macOS. On Linux, there are base OS images like debian:10 and ubuntu:22.04. Are there similar images for macOS? I've tried searching Docker Hub for &...
Daniel Walker's user avatar
2 votes
1 answer
663 views

Auto suggestions for Docker container names with ohmyzsh

I'm migrating from Ubuntu to MacOS with my MacBook Pro (M2). I'm using ohmyzsh with the docker and docker-compose plugin. Docker has been installed with Docker Desktop setup. All works fine except the ...
Theiaz's user avatar
  • 121
1 vote
1 answer
680 views

Docker Desktop: How many CPUs can I assign to it?

On my MacBook Pro I have 8 performance cores with 2 efficiency cores. So I have 10 cores total. In my Docker Desktop configuration I can choose how many cores are allocated for use of Docker. Is there ...
firebush's user avatar
  • 345
0 votes
0 answers
112 views

OSX container sharing host network with IP from router (DHCP)

I have a production environment, which has 4 hosts. Two hosts are edge processors, the other two are backend processors. All 4 hosts will communicate with additional backend processors. I'd like to, ...
Bruce's user avatar
  • 1
0 votes
1 answer
374 views

"Move to Trash" fails silently on "XYZ is damaged and can't be opened"

I'm getting this error repeatedly on my new M2 after using the migration assistant from my Intel mac. Here's the problem: It pops back up immediately no matter what I click The error comes back even ...
kelorek's user avatar
  • 111
1 vote
0 answers
496 views

MacBook M1 How to bypass USB devices to docker container?

I've faced with the issue that I cannot forward USB device from MacOS to docker container based on Ubuntu. I run docker image in the following way: docker run --rm -v /dev:/dev -p 8080:8080 -p 8081:...
Denis Kotov's user avatar
1 vote
0 answers
356 views

macOS Ventura "Too many open files" [duplicate]

I am trying to run several Docker containers on my new M2 Mac Mini, but I keep running into issues passing my SMB network drive through to the containers. I am able to add the path to the container ...
Smith8154's user avatar
3 votes
1 answer
2k views

Is there a way to detect licensed/unlicensed installations of Docker?

Now that Docker is licensed in corporate environments, does anyone have a way of finding the licensed/unlicensed status of a Docker installation? We have many Macs and some of our users have licenses ...
Scott Earle's user avatar
  • 4,006
1 vote
0 answers
52 views

Use Ethernet port for my Docker container but never outside

I'm trying to get a setup ready, where I have a Mac Mini connected to two different ethernet connections. It should look something like this: Port 01: routes directly to the Docker container. Port 02:...
Nifalu's user avatar
  • 11
0 votes
2 answers
417 views

How to move file in opt folder to opt subfolder with same name

I am trying to install Navidrome on macOS based on instructions here: https://www.navidrome.org/docs/installation/macos/ Note: I have Docker installed but the instructions are unclear if I should ...
qu4ntumrush's user avatar
3 votes
2 answers
4k views

Memory error when running Elasticsearch on Docker (macOS Monterey 12.3)

The Docker container shuts down with error code 137 when running Elasticsearch. This is the info from the logs: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [...
Leili Leeloo's user avatar
1 vote
0 answers
1k views

Enabling experimental features in Docker Desktop hangs indefinitely on M1

When I try to enable (check the checkbox, then click the "Apply & Restart") the following experimental features Use the new Virtualization Framework Enable VirtioFS accelerated ...
wscourge's user avatar
  • 111
0 votes
0 answers
172 views

macOS Monterey firewall off but cannot access port

I have a PostgreSQL database which is being deployed using docker, basically I'm exposing the port 5432 on my local machine, my firewall is turned off and I'm trying to log into the database from a ...
moth's user avatar
  • 101
0 votes
0 answers
114 views

Installing VirtualBox on AWS EC2 OS X instance

For a CICD pipeline purpose, we are attempting to setup CI runner -> install Docker and hence VirtualBox on an Amazon AWS EC2 OS X instance, and getting failure at the very last stage of validating ...
Dhanesh Katre's user avatar
3 votes
2 answers
8k views

How to launch docker container from CLI in MacOS (eg `docker run ...`)?

How can I launch a docker container from the command-line in MacOS? In Debian Linux, I can execute the following commands to install docker, launch a new docker container based on the latest version ...
Michael Altfield's user avatar
0 votes
0 answers
785 views

install docker engine without docker desktop on MacOS

Docker recently upgraded its license that using Docker Desktop is a paid feature. I don't use Desktop but I do use the built-in Docker Engine. The Docker > About implies they are two separate ...
Oliver Williams's user avatar
1 vote
0 answers
27 views

com.docker.docker repository doesn't display it's real name

I have Docker on my Mac and just for curiosity's sake, I went to the Docker repository to see a bit how it is : ~/Library/Containers/Docker But this repository is kind of strange. When I display its ...
DigitalRomance's user avatar
1 vote
0 answers
636 views

Unable to connect to local Docker for Mac web server via IP address. Bonjour (mDNS) connection works fine

I am currently running an application via Docker for Mac. I have ensured that the application is properly forwarding the ports via a docker-compose file. I have forwarded port 8083 from the ...
Timothy Bueno's user avatar
0 votes
1 answer
344 views

M1 Pro for software development [closed]

I need to replace my Intel-based macbook, but I found out that currently, the stores are only providing the ones with M1 chipsets. So, I thought it might not be that bad with M1 Pro (10 core version), ...
Pawel P's user avatar
  • 11
0 votes
1 answer
594 views

Toolbox/Podman Alternative for MacOS

I primarily develop on Linux and recently bought a Macbook, and am looking to make the development experience familiar to what I am used to. Note that this focuses on work native to the OS, rather ...
Nathan's user avatar
  • 11
1 vote
0 answers
917 views

How can I access my webcam in a docker container with an M1 macbook?

System Specs: macOS Monterey:12.2.1, MacBook Pro (14-inch, 2021), Apple M1 Pro I have found tutorials such as https://stackoverflow.com/questions/33985648/access-camera-inside-docker-container https:/...
William Randall's user avatar
0 votes
1 answer
387 views

Alternative for getent to launch containerized ShinyProxy with a docker engine

I'm following this tutorial to launch a containerized ShinyProxy with a docker enine. It works as expected, until there is this getent command that seems to be unavailable for MacOS :( sudo docker run ...
bathyscapher's user avatar
2 votes
2 answers
2k views

M1 chip, docker and a warning

I am using macOS Monterey Version 12.0.1 with the Apple M1 chip. I have downloaded the appropriate version of Docker, but when I tried to execute the following in the terminal - I am following some ...
user avatar
11 votes
2 answers
10k views

Running docker daemon on Apple Silicon without Docker Desktop

Docker desktop is about to become a paid service for larger businesses on January 31st, 2022. On Apple Silicon / M1 chips previous solutions (usually relying on VirtualBox) to run the docker daemon ...
Zhenhir's user avatar
  • 213
1 vote
1 answer
42 views

Host certain folder for public access via URL

Hopefully I describe this in the way it can help me. Is it possible for me to host a drive live on a website of mine, in which users anywhere, (not just my network), can access to watch/listen/play ...
rxveri's user avatar
  • 11
1 vote
0 answers
187 views

Custom Docker resource limits

I'm using Docker desktop on Monterey, on an M1 Mac. Some commands in an Ubuntu-based container are running out of memory and getting killed by the system. I opened a second terminal window and ...
Tom Harrington's user avatar
3 votes
1 answer
9k views

How to cleanup "Library/Containers/com.docker.docker" on a Mac?

I have an MacBook Air (10.14.6) and the folder ~/Library/Containers/com.docker.docker/ contains 64 GB of data!! How to clean up this folder?
Alex's user avatar
  • 2,334
2 votes
2 answers
814 views

How can I address an “Cmake is not installed” error running docker on macOS?

I tried to run this https://github.com/mkhaled87/pFaces-OmegaThreads in my Mac terminal and When I entered sh build.sh, it showed CMAKE is not installed. Please install it first. I have CMAKE on my ...
olivia's user avatar
  • 21
2 votes
1 answer
2k views

Are M1 Macbooks good for container-based software development (Docker...) in Q4/2021?

I need to buy a new MacBook Pro; as far as I can tell, the M1 is significantly superior than my 2019 MBP in any aspect, so I would not like to get an older model even if I could. One thing that gives ...
AnoE's user avatar
  • 578
0 votes
1 answer
390 views

How can I connect my macOS to docker network minikube?

I run the minikube on my macos, and minikube container use the minikube network, check below: $ docker network ls NETWORK ID NAME DRIVER SCOPE 906776761e62 bridge bridge local ...
244boy's user avatar
  • 551
0 votes
0 answers
39 views

macOS Docker Desktop default driver?

I'm trying to find out which driver the Docker Desktop is now using as default for macOS. Feels like I've looked everywhere for an answer but came up empty. Does it still use VirtualBox or something ...
mejsmea's user avatar
  • 31
1 vote
1 answer
2k views

Docker Abusing Swap on macOS Monterey

On macOS Monterey, the Docker process is using many GB of swap (virtual memory). So much swap, in fact, that my SSD filled up and caused file corruption. Here are some things I've done to try to limit ...
tjcaul's user avatar
  • 266
2 votes
2 answers
4k views

Accessing files from Docker container in Finder

I'm exploring using Docker for web development on my MacBook. I've set up a couple of containers successfully, but one thing has me completely lost. How do I make the web files accessible through the ...
Pedro's user avatar
  • 630
0 votes
1 answer
1k views

SQL server on M1 based Mac using Docker [closed]

I am trying to install SQL Server on m1 based Mac with docker https://debugsolutions.wordpress.com/2021/03/17/using-sql-server-on-m1-based-mac-with-docker/ I made it all the way to end of step 5, but ...
adam 's user avatar
2 votes
0 answers
1k views

How do I publish docker container ports on my Mac host when using host networking mode

I'm using docker containers for my development on a Mac host. The containers are Linux systems. I currently have two seemingly contradictory development needs from this container: In order for my ...
firebush's user avatar
  • 345
3 votes
0 answers
237 views

How do I run docker checkpoint on mac hosts

I'm on a Mac host running Docker Desktop and I'd like to use docker checkpoint to save the state of my docker images between reboots. Taking information from the following unix.stackexchange post, I'...
firebush's user avatar
  • 345
2 votes
1 answer
144 views

If i run terminal on rossetta2 then will all the processes run on rossetta 2 itself?

Reason i am asking is i want to build some docker images which are not suitable on arm right now .. so i am just wondering If i run terminal on rossetta2 and build docker images. Those images will be ...
Chetanya Chopra's user avatar
2 votes
0 answers
845 views

Multiple "Operation not permitted" under docker despite full disk access / developer tools

I recently upgrade to Mac OS 11 (Big Sur), and since then I've been unable to use Docker for most of the things I need. Example issue: % docker run --rm -it alpine:edge / # apk add --no-cache emacs-...
Geod24's user avatar
  • 121
5 votes
2 answers
3k views

How to exclude docker files from time machine backups

I don't need back up of my docker files. How do i exclude them from time machine backups I see people mentioning /Users/david/Library/Containers/com.docker.docker folder but that does not exists on my ...
David Dehghan's user avatar
1 vote
1 answer
323 views

Docker for Mac 10.11.6 will not start, uninstall hangs and docker menu will not open when running

Something has gone wrong with Docker on my mac and I'm trying to remove and re-install versions but I can't get the menu open to do a factory reset. Every version I install either says it will not run ...
mikeb's user avatar
  • 121
2 votes
1 answer
1k views

Where does docker desktop "start on login" option get stored and how to stop Docker from doing this outside of docker desktop?

MacOS start applications are controlled through the user and groups settings. Also you can use cron. In docker desktop there is a login setting that seems to secretly put some login setting somewhere. ...
mathtick's user avatar
  • 199
2 votes
2 answers
204 views

How can I avoid iTerm trying to scp a file when ⌘-clicking it? [duplicate]

I am working with a developer setup so that I run my code in a docker container and be able to edit it locally (via volume). Local path is e.g. /path/to/my/project while inside docker container it is /...
Karsten S.'s user avatar
1 vote
0 answers
123 views

How to run Linux GUI on macos

I'm following this website's instruction so I can run Linux gui app on my mac: https://kartoza.com/en/blog/how-to-run-a-linux-gui-application-on-osx-using-docker/ I've downloaded Kitematic (v0.17.7) ...
Kaiwen Hu's user avatar
62 votes
5 answers
74k views

What is the purpose of Docker.raw file on Mac OS Catalina?

I have Docker installed on my Mac OS Catalina and recently found very big file Docker.raw. It is 64 Gb. I don’t understand why is it so big. Is it really needed?
Denys Ivanenko's user avatar
130 votes
6 answers
361k views

How do I start the docker daemon on macOS?

I am using macOS 10.14.6 and docker info shows me that the docker daemon is not running. How do I start the docker daemon from terminal? I have not found any information on doing so anywhere. On ...
Alex's user avatar
  • 2,334