Feature Req: Add ability to configure /etc/docker/daemon.json from the GUI
See original GitHub issuePreflight Checklist
- I have searched the issue tracker for a feature request that matches the one I want to file, without success.
Problem Description
Docker Desktop has always given the ability to edit the docker daemon’s config from the GUI:
(Image source: https://mandie.net/2017/12/10/docker-for-windows-behind-a-corporate-web-proxy-tips-and-tricks/)
(Image source: https://github.com/docker/for-win/issues/6633)
You can configure all kinds of useful settings in that file:
- registry mirroring
- insecure http registries
- configuring dns “dns”: [ “10.10.1.1”, “10.10.1.2”], “dns-serach”: [ “dev.local” ]
- https://docs.docker.com/engine/reference/commandline/dockerd/
Problem: Rancher Desktop Lacks the ability to easily update this file in the GUI
Proposed Solution
Add a new spot to the GUI to edit Docker daemon.json config file
Additional Information
I tried the following workaround, that didn’t work for me, but some could probably figure out if they spent a little more effort on.
# [user@Macbook bash/zsh:~]
brew install lima
export LIMA_HOME=~/Library/Application\ Support/rancher-desktop/lima
# Note the following commands, only work when the env var is set
limactl ls
limactl shell 0
# [user@LimaVM's bash:~]
sudo vi /etc/docker/daemon.json
sudo service docker restart
# Edit it didn't recover from that docker restart, so I just factory reset
# Rancher-Desktop to fix it, and accepted the limitation for now.
# (It could probably be debugged if someone needed the workaround)
Issue Analytics
- State:
- Created 2 years ago
- Reactions:9
- Comments:5
Top Results From Across the Web
Docker daemon configuration overview
To configure the Docker daemon using a JSON file, create a file at /etc/docker/daemon.json on Linux systems, or C:\ProgramData\docker\config\daemon.json on ...
Read more >Frequently asked questions - Azure Container Registry
First, create the Docker daemon configuration file ( /etc/docker/daemon.json ) if it doesn't exist, and add the debug option: JSON
Read more >Docker - ArchWiki
The Docker daemon can be configured either through a configuration file at /etc/docker/daemon.json or by adding command line flags to the ...
Read more >Working with JSON data in Google Standard SQL | BigQuery
This document describes how to create a table with a JSON column, insert JSON data into a BigQuery table, and query JSON data....
Read more >Qualys API (VM, PC) User Guide
Discovery Scans (maps) | Domain List | Add/Edit Domain ... user can enable this feature in the Qualys UI by going to Scans...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Maybe its sufficient to just make the config available as a mount point instead of a full GUI integration. In the case of WSL2, dockerd could be started, pointing to
/mnt/c/Users/...../AppData/Local/rancher-desktop/etc/docker/daemon.json
per default. Then I would not need to edit the config inside the wsl distro after every update and restart rancher-desktop afterwards.this would be very helpful. our internal IP range clashes with the defaults so rancher desktop is unusable for a lot of things like this.