Questions tagged [docker]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
25 views

macOS Ventura "Too many open files"

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 ...
1 vote
1 answer
106 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 ...
  • 3,986
1 vote
0 answers
23 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:...
  • 11
0 votes
0 answers
64 views

Mac Mini M1 - Docker exposed ports sleeping

I'm very new to Mac, I have a Mac Mini M1, I'm trying to use docker but it seems that when I don't use the Mac the exposed ports of my containers are not available. It is sufficient to netcat to SSH ...
0 votes
2 answers
117 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 ...
1 vote
2 answers
918 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
984 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 ...
  • 111
0 votes
0 answers
50 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 ...
  • 101
0 votes
0 answers
73 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 ...
2 votes
1 answer
2k 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 ...
0 votes
0 answers
633 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
23 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 ...
1 vote
0 answers
560 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
293 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), ...
  • 11
-1 votes
1 answer
252 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
0 votes
0 answers
671 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
239 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 ...
1 vote
1 answer
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
7 votes
2 answers
5k 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 ...
  • 173
1 vote
1 answer
25 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 ...
  • 11
1 vote
0 answers
135 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 ...
2 votes
1 answer
4k 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?
  • 1,618
2 votes
2 answers
508 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 ...
  • 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 ...
  • 519
0 votes
1 answer
288 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 ...
  • 521
0 votes
0 answers
34 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 ...
  • 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 ...
  • 256
1 vote
1 answer
2k 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 ...
  • 611
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
858 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 ...
  • 305
2 votes
0 answers
150 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'...
  • 305
2 votes
1 answer
124 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
701 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-...
  • 121
4 votes
2 answers
2k 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
293 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 ...
  • 121
2 votes
1 answer
558 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. ...
  • 189
2 votes
1 answer
104 views

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

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
84 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) ...
43 votes
3 answers
46k 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. Is it really needed? And if so, why is it so big ?
92 votes
5 answers
209k 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 ...
  • 1,618
1 vote
0 answers
47 views

Services running in a VirtualBox VM have poor upload speed

I'm using an early 2009 Mac Pro as a server that's running a number of services in docker containers. Because the computer is too old to use the latest version of Docker, I have these docker ...
  • 1,950
5 votes
1 answer
838 views

Disable IPv6 for Docker on macOS

How can I disable IPv6 for Docker on macOS?
1 vote
0 answers
709 views

Localhost page keep returning message :This site can’t be reached localhost refused to connect

I am using docker on Mac pro. the localhost page keeps returning the below message when i do a docker-compose up -d: This site can’t be reached localhost refused to connect. Try: Checking the ...
  • 119
5 votes
2 answers
8k views

Is it possible to get macOS running in a Docker container?

I know that it's possible to get macOS running in a VM under Parallels, VirtualBox and VMWare Fusion. I have containers with Windows and many distributions of Linux and BSD Unix. I'm hoping somebody ...
1 vote
1 answer
770 views

Cannot remove a rogue mount point

A mount point /home appeared in my root directory that I cannot get rid of. I suspect it was caused by using Docker for Mac, but I have completely uninstalled Docker for Mac, restarted my system ...
6 votes
1 answer
2k views

Installing Ubuntu Virtual Machine on macOS using Native Hypervisor?

I have Mac Book Pro running macOS High Sierra (10.13.5). I want to run Ubuntu in a virtual machine so that I can ultimately run it as a Kubernetes node. I realise I could use a Type-2 / Hosted ...
  • 171
2 votes
1 answer
2k views

Run GUI application in MacOS 10 in Docker

I'd like to run an application in a Docker container that can start a GUI. This guide recommends using XQuartz. After starting XQuartz, run the following: ip=$(ifconfig en0 | grep inet | awk '$1=="...
  • 187
0 votes
1 answer
191 views

Limit Total Size of Cached Files

I have a beefy Docker image that I'd like to run on my work machine (OSX 10.13.3, 16 GB RAM, Core i5), but I find that when running the image, along with a web browser, that the computer crashes or ...
  • 101
2 votes
1 answer
66 views

Put OSX under version control

I have recently learned about Docker and love their declarative approach which enables me to put everything under version control and make the whole application basically immutable. I understand that ...
  • 131
2 votes
1 answer
1k views

OS X Firewall blocking external connections to NGinx Docker container

I have an Docker container running NGinx on a macOS High Sierra machine behind a corporate firewall that cannot be disabled. The container is unable to be accessed externally from other machines on ...
  • 121