When computer awakes from sleep, Docker for Mac awakes to the same state it was in prior to sleep.
When it awakes Docker for Mac resets to some old state where different containers were running, not running the ones you had before sleeping.
The effect of this is that every time you walk away from your computer and it auto-locks, anything you were using is stopped and a bunch of random containers have taken their place.
- the output of:
pinata diagnose -uon OSX
OS X: version 10.10.5 (build: 14F27)
Docker.app: version v1.11.1-beta13
Running diagnostic tests:
[OK] Moby booted
Docker logs are being collected into /tmp/20160527-110721.tar.gz
Most specific failure is: No error was detected
Your unique id is: 7E2BFEC8-BD97-4F2B-AD66-30E0A77F4CA2
Please quote this in all correspondence.
Running on 10.10.5
Steps to reproduce the behavior
- Stop all containers
- Sleep the Mac
- Awake it
- Wait for Docker to respond
- Check what containers are running. It should be none since you stopped them all. I don’t know why it starts the containers it does, but it’s definitely unexpected.