Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Containers fail to keep running since latest Docker update #1809

Closed
noefingway opened this issue Jul 2, 2017 · 11 comments
Closed

Containers fail to keep running since latest Docker update #1809

noefingway opened this issue Jul 2, 2017 · 11 comments

Comments

@noefingway
Copy link

Expected behavior

docker app runs until I stop it

Actual behavior

all containers fail after several hours, this has only started since the latest update

Information

  • Full output of the diagnostics from "Diagnose & Feedback" in the menu

Docker for Mac: version: 17.06.0-ce-mac18 (4cdec4294a50b2233146b09469b49937dabdebdd)
macOS: version 10.11.6 (build: 15G1510)
logs: /tmp/EDB656CD-E5D0-4093-9592-E5B2D11106B8/20170702-182642.tar.gz
[OK] db.git
[OK] vmnetd
[OK] dns
[OK] driver.amd64-linux
[OK] virtualization VT-X
[OK] app
[OK] moby
[OK] system
[OK] moby-syslog
[OK] db
[OK] env
[OK] virtualization kern.hv_support
[OK] slirp
[OK] osxfs
[OK] moby-console
[OK] logs
[OK] docker-cli
[OK] menubar
[OK] disk

Steps to reproduce the behavior

Seems happen to any container I run.

@junian
Copy link

junian commented Jul 2, 2017

Happened to me, too. I run a mysql container. Usually it's running without problem. Now it's closing every time I sleep my Mac.

@djs55
Copy link
Contributor

djs55 commented Jul 3, 2017

In the logs for EDB656CD-E5D0-4093-9592-E5B2D11106B8:

<Warning>: Triggering a VM reboot because proxy settings changed from 
main.proxySettings{http:"", https:"", exclude:""} to main.proxySettings{http:"", https:"", exclude:"*.local, 169.254/16"}

HTTP proxies are configured by modifying the environment variables inside the VM, which requires a VM restart whenever the variables change. In this case perhaps it's unnecessary to reboot when the exclude changes, when there is no actual proxy set.

As a workaround try setting: Whale Menu -> Proxies -> No proxies.

@ghost
Copy link

ghost commented Jul 3, 2017

Sounds like this trick from @djs55 also resolves the annoying reboot that happens every single time i switch from network.

@thaJeztah
Copy link
Member

@djs55 something for the troubleshooting section in the documentation perhaps?

@djs55
Copy link
Contributor

djs55 commented Jul 4, 2017

The unnecessary reboot caused by the exclude changing when there is no proxy set has been cherry-picked into the branch for 17.06.1, which should hopefully be released later this week. Thanks for your report!

@noefingway
Copy link
Author

Setting "No Proxies" appears to have solved the problem. thx!

@timothyallan
Copy link

Hopefully this also fixes the issue of restarting Docker when stopping/starting Charles Proxy!

@ghost
Copy link

ghost commented Jul 22, 2017

@timothyallan It does. Just confirmed it.

@timothyallan
Copy link

@vyscond Hmmm, yours doesn't do this if you're using the system proxy?

#1873 (comment)

@docker-robott
Copy link
Collaborator

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

@docker-robott
Copy link
Collaborator

Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle locked

@docker docker locked and limited conversation to collaborators Jun 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants