Questions tagged [docker]
The docker tag has no usage guidance.
75
questions
1
vote
0
answers
34
views
Increase swap memory in docker desktop
Using this version of docker,
The swap memory in docker desktop is limited to 4GB.
On windows, this default value could be doubled by specifying "SwapMiB": 8192 in a settings file located ...
0
votes
1
answer
99
views
Completely remove Docker Desktop - still shows something Login Elements
I want to completely remove Docker Desktop from my macbook (M3, Sonoma) to perform a clean installation from scratch; I performed an uninstall using Appcleaner, but still I have something left on the ...
3
votes
4
answers
676
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, ...
0
votes
1
answer
227
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: ...
0
votes
0
answers
34
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 ...
2
votes
0
answers
270
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 ...
5
votes
3
answers
9k
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 ...
2
votes
1
answer
1k
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 &...
2
votes
1
answer
902
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 ...
1
vote
1
answer
857
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 ...
0
votes
0
answers
135
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, ...
0
votes
1
answer
428
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 ...
1
vote
0
answers
620
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:...
1
vote
0
answers
358
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 ...
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 ...
1
vote
0
answers
60
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:...
0
votes
2
answers
525
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 ...
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 [...
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 ...
0
votes
0
answers
201
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 ...
0
votes
0
answers
131
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 ...
3
votes
2
answers
9k
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 ...
2
votes
1
answer
827
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 ...
1
vote
0
answers
28
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 ...
2
votes
0
answers
654
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 ...
0
votes
1
answer
346
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), ...
0
votes
1
answer
725
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 ...
1
vote
0
answers
990
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:/...
0
votes
1
answer
418
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 ...
3
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 ...
11
votes
2
answers
12k
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 ...
1
vote
2
answers
95
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 ...
2
votes
0
answers
206
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 ...
3
votes
2
answers
10k
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?
2
votes
2
answers
875
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 ...
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 ...
0
votes
1
answer
409
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
...
0
votes
0
answers
40
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 ...
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 ...
2
votes
2
answers
5k
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 ...
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 ...
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 ...
3
votes
0
answers
270
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'...
2
votes
1
answer
151
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 ...
2
votes
0
answers
861
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-...
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 ...
1
vote
1
answer
330
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 ...
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. ...
3
votes
2
answers
239
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 /...
1
vote
0
answers
133
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) ...