question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature Req: Add ability to configure /etc/docker/daemon.json from the GUI

See original GitHub issue

Preflight 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 (Image source: https://mandie.net/2017/12/10/docker-for-windows-behind-a-corporate-web-proxy-tips-and-tricks/)

image (Image source: https://github.com/docker/for-win/issues/6633)

You can configure all kinds of useful settings in that file:

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:open
  • Created 2 years ago
  • Reactions:9
  • Comments:5

github_iconTop GitHub Comments

1reaction
urldcommented, Mar 24, 2022

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.

1reaction
0x91commented, Jan 31, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found