After updating to Docker v1.7.0 (and also boot2docker), I\'m getting the following error when running docker ps:
docker ps
x509: certificate is valid for
Simply running this command fixes the issue for me. This was suggested by a Docker employee via GitHub.
boot2docker ssh sudo /etc/init.d/docker restart
Unfortunately it needs to be run each time you start boot2docker.