Open haniamr opened 6 years ago
Hi @haniamr I've tried to repro this in a couple of environments now but I havent been able to.
Do you have the Docker GUI open when you make the switch?
Just to make sure I'm using the same commands - I'm using this in Powershell - is this what you're using?
& 'C:\Program Files\Docker\Docker\DockerCli.exe' -SwitchDaemon
Hi @jasonbivins
Yes, that's the command I'm trying: "c:\Program Files\Docker\Docker\DockerCli.exe" -SwitchDaemon
I don't have the GUI open when executing the command. Which version have you tried on? I have the latest stable and I can still repro the issue:
Client:
Version: 17.09.0-ce
API version: 1.32
Go version: go1.8.3
Git commit: afdb6d4
Built: Tue Sep 26 22:40:09 2017
OS/Arch: windows/amd64
Server:
Version: 17.09.0-ce
API version: 1.32 (minimum version 1.24)
Go version: go1.8.3
Git commit: afdb6d4
Built: Tue Sep 26 22:50:27 2017
OS/Arch: windows/amd64
Experimental: true
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
comment.
Stale issues will be closed after an additional 30d of inactivity.
Prevent issues from auto-closing with an /lifecycle frozen
comment.
If this issue is safe to close now please do so.
Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle stale
/remove-lifecycle stale
This still happens! I could repro, latest stable as well.
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
comment.
Stale issues will be closed after an additional 30d of inactivity.
Prevent issues from auto-closing with an /lifecycle frozen
comment.
If this issue is safe to close now please do so.
Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle stale
/remove-lifecycle stale
This issue happens for me as well. Windows 10 (10.0.17763), latest Docker Desktop release. I can only get the tray icon UI to reflect changes made using dockercli.exe
by issuing commands to shut down Docker Desktop and then relaunching it.
/reopen
/lifecycle frozen
Just to add to this, I get the same experience if I invoke .\dockercli.exe -SwitchLinuxEngine
or .\dockercli.exe -SwitchWindowsEngine
. The tray icon just doesn't pick up on the changes until I shut down Docker Desktop and restart it, but that shouldn't be necessary because I can do this on the fly using the tray without restarting it.
BUG REPORT INFORMATION
Description If I run
dockercli -SwitchDaemon
in order to switch Docker from Windows to Linux, the UI still thinks it's on Windows containers and doesn't show Linux-specific settings (i.e. Shared drives)Steps to reproduce the issue:
dockercli -SwitchDaemon
Describe the results you received: Linux-specific settings are not visible (i.e. Shared drives, Advanced, Network, etc.)
Describe the results you expected: The UI should reflect to the correct mode if switching via the command line
Output of
docker version
:Output of
docker info
: