Questions tagged [docker]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
13 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 ...
user avatar
0 votes
1 answer
42 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), ...
user avatar
  • 11
0 votes
1 answer
28 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 ...
user avatar
  • 1
0 votes
0 answers
113 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:/...
user avatar
0 votes
0 answers
15 views

Applications dock icon suddenly turned to be a "placeholder" white rounded square - why and how to restore it?

Suddenly my Docker's dock icon turned to be a placeholder. After clicking it works and behaves correctly but looks weird and I want to restore it to the previous appearance. Primarily I want to ...
user avatar
0 votes
0 answers
18 views

How do you set the maximum core dump size in a way that will affect programs started from the dock?

The Title pretty much says it all, but here's what I tried: I tried running "ulimit -c unlimited" in a shell, but of course the only helps subprocesses of that shell. I tried setting up a &...
user avatar
0 votes
1 answer
54 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 ...
user avatar
1 vote
1 answer
876 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
2 votes
1 answer
252 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 ...
user avatar
  • 123
1 vote
1 answer
23 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 ...
user avatar
  • 11
1 vote
0 answers
27 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 ...
user avatar
1 vote
1 answer
408 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?
user avatar
  • 845
2 votes
2 answers
97 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 ...
user avatar
  • 21
2 votes
1 answer
1k 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 ...
user avatar
  • 357
0 votes
1 answer
169 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 ...
user avatar
  • 431
0 votes
0 answers
24 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 ...
user avatar
  • 31
1 vote
1 answer
1k 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 ...
user avatar
  • 216
0 votes
1 answer
277 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 ...
user avatar
  • 571
0 votes
1 answer
384 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 ...
user avatar
2 votes
0 answers
555 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 ...
user avatar
  • 305
2 votes
0 answers
79 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'...
user avatar
  • 305
2 votes
1 answer
86 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 ...
user avatar
2 votes
0 answers
438 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-...
user avatar
  • 121
0 votes
2 answers
1k 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 ...
user avatar
1 vote
1 answer
207 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 ...
user avatar
  • 121
1 vote
1 answer
73 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. ...
user avatar
  • 179
2 votes
1 answer
60 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 /...
user avatar
1 vote
0 answers
59 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) ...
user avatar
22 votes
3 answers
22k 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 ?
user avatar
53 votes
3 answers
103k 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 ...
user avatar
  • 845
1 vote
0 answers
20 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 ...
user avatar
  • 1,922
5 votes
1 answer
516 views

Disable IPv6 for Docker on macOS

How can I disable IPv6 for Docker on macOS?
user avatar
1 vote
0 answers
650 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 ...
user avatar
  • 119
4 votes
2 answers
7k 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 ...
user avatar
1 vote
1 answer
663 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 ...
user avatar
4 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 ...
user avatar
  • 151
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=="...
user avatar
  • 187
0 votes
1 answer
94 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 ...
user avatar
  • 101
2 votes
1 answer
61 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 ...
user avatar
  • 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 ...
user avatar
  • 121
3 votes
1 answer
3k views

I can't install Docker. Does my CPU in Macbook Pro 2010, support the hypervisor framework? If so, why does `sysctl kern.hv_support` return 0?

I have a Macbook Pro 2010 I have a problem running Docker, it says "Fatal Error. Incompatible CPU detected Docker requires a processor with virtualization capabilities. " Processor in there is Core ...
user avatar
  • 386
1 vote
1 answer
967 views

How to find out whether my MacBook Air supports memory management unit (MMU) virtualization for Docker?

I'm planning to install Docker on my MacBook Air (Early 2014): Intel Core i5, 4 GB RAM. I need Docker to be able to run SQL Server on my Mac (as I understand this is the only way to run it). However, ...
user avatar
  • 396
4 votes
0 answers
2k views

Cannot figure out how to use mount command on MacOS

I am trying to use mount as in man mount, on MacOS. Ultimately, what I am trying to do is mount a directory which is outside of the Docker build context and put the directory inside the Docker build ...
user avatar
2 votes
1 answer
2k views

Docker & OSX's guest Windows 10 Pro "doesn't have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory"

I have macOS 10.12.3 and Windows 10 Pro running under Parallels. I try to install Docker to Windows 10. I could not install Docker for Windows rather Docker Toolbox (no idea why) but in installing the ...
user avatar
  • 3,626
2 votes
1 answer
4k views

How to enable VT-x for Docker on MacPro 2008

So I've read that it is possible to enable Virtualisation on MacPro 2008 however I do not find how. I know that I have VMX since the output of sysctl -a | grep machdep.cpu.features is : machdep.cpu....
user avatar
  • 215
1 vote
0 answers
360 views

Kitematic container doesn't start and getting error "Cannot connect to the Docker daemon"

From shell I am trying to start docker ps but I get this error: $ docker ps Cannot connect to the Docker daemon. Is the docker daemon running on this host? secondly if I run Kitematic and try to ...
user avatar
1 vote
0 answers
519 views

Running Parallels and VirtualBox for Docker in OS X?

I use Parallels for Windows while VirtualBox/Kinematic (Beta) for Docker in OS X -- but haven't yet tested at the same time because of possible problems such as here, dated to 2013 so many problems ...
user avatar
  • 3,626
6 votes
2 answers
8k views

Using webcam connected to MacBook inside a Docker container

Has anybody figured out yet how to use an external webcam which is connected to a MacBook inside a Docker container? I read that I have to pass this flag --device /dev/video0 to docker run, but I ...
user avatar
  • 63
2 votes
1 answer
778 views

Start docker in background at boot

I would like to autostart a docker container in the background at boot. I do not want it to start at login, but at boot (to serve a HTTP interface to all my colleagues on the LAN) before/without ...
user avatar
57 votes
2 answers
49k views

Stop Docker from automatically starting on startup

I installed Docker on OS X, and now it automatically loads every time I log in. Is there a way to stop this?
user avatar
  • 1,896