TheTick077 wrote:kevin wrote:At what stage? Post the output please
Sorry for the delay, this is at my parents house, and haven't been back since I got the error. I was able to reproduce the error again today, and here are a few of the commands that are executed before the error, and the error i receive when using the pull script:
- Code: Select all
Executing /usr/sbin/update-rc.d docker defaults
Executing /usr/sbin/update-rc.d docker enable
Adding user pi to group docker
Pulling latest alarmdecoder image...
Error response from daemon: Get https://registry-1.docker.io/v2/: x509: certificate has expired or is not yet valid
Failed to pull alarmdecoder image...
I am able to also reproduce it when I follow the manual install instructions (not pull) on github:
- Code: Select all
pi@alarmdecoder:~/alarmdecoder-docker $ docker build -t alarmdecoder alarmdecoder
Sending build context to Docker daemon 12.8kB
Step 1/89 : FROM resin/rpi-raspbian:jessie
Get https://registry-1.docker.io/v2/: x509: certificate has expired or is not yet valid
Ok, figured it out! The date/time settings on the pi were WAY off, so the NTP update was failing. I had to manually set the date/time, and then restart the NTP service to allow the update to go through. Once I synced that up, the pull got past that point. It is still running, so I am scared to say it worked to competion .