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

preload-user-images, "ros preload-images" issues #1817

@johnko

Description

@johnko

RancherOS Version: git commit 0353296

Where are you running RancherOS? vagrant, virtualbox

I am noticing an issue with PR #1326.

The new "ros preload-images" for docker (not system-docker) will exit 0 (no error code) even if all the images were not loaded, for example if "no space left on device".

Another issue is that the preload in Go code appears to load images in the background, but creates the doneStamp (eg. user.tar.gz.done) right away.

This is different from the old preload.sh script which only creates the doneStamp when "docker load" is complete with no error (because preload.sh was using set -e).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions