This repository was archived by the owner on Oct 11, 2023. It is now read-only.

Description
RancherOS Version: v1.0.2
Docker Version: 1.10.3
Where are you running RancherOS? openstack
This worked perfectly on v0.4.3
The issue is very simple to reproduce:
- Build image locally
- Write custom service .yml referencing image of step 1
> /var/lib/rancher/conf/custom_service.yml
ros service enable /var/lib/rancher/conf/custom_service.yml
[ 8133.468164] DEBU[0000] START: [ros service enable /var/lib/rancher/conf/custom_service.yml] in /home/rancher/te
[ 8133.586103] DEBU[0000] Using cached file: /var/lib/rancher/cache/5766785a73996b5975746bfc09d463aa
[ 8133.587155] DEBU[0000] Loaded /var/lib/rancher/conf/custom_service.yml from /var/lib/rancher/conf/custom_service.yml
[ 8135.313122] ERRO[0001] Failed Pulling custom_service : Status: Error: image library/local_image not found, Code: 1
[ 8135.313477] ERRO[0001] Failed to start: custom_service : Status: Error: image library/local_image not found, Code: 1
[ 8135.313815] FATA[0001] Status: Error: image library/local_image not found, Code: 1
time="2017-06-07T14:49:56.941340098Z" level=debug msg="Calling GET /v1.20/info"
time="2017-06-07T14:49:56.941448841Z" level=debug msg="GET /v1.20/info"
time="2017-06-07T14:49:57.041674189Z" level=debug msg="Calling POST /v1.20/images/create"
time="2017-06-07T14:49:57.041799213Z" level=debug msg="POST /v1.20/images/create?fromImage=docker.io%2Flibrary%2Flocal_image&tag=latest"
time="2017-06-07T14:49:57.042098925Z" level=debug msg="Trying to pull local_image from https://registry-1.docker.io v2"
time="2017-06-07T14:49:58.231224204Z" level=debug msg="Trying to pull local_image from https://index.docker.io v1"
time="2017-06-07T14:49:58.231390061Z" level=debug msg="hostDir: /etc/docker/certs.d/docker.io"
time="2017-06-07T14:49:58.231744951Z" level=debug msg="[registry] Calling GET https://index.docker.io/v1/repositories/library/local_image/images"
time="2017-06-07T14:49:58.661443013Z" level=debug msg="Not continuing with error: Error: image library/local_image not found"
Is there any quick fix for this?
Thank you.