Cache Docker: ajouter mode offline/cache-only + controler le pull (docker run --pull=never) #29
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
#2 Save docmachine image in local cache
glenux/docmachine-cli
#21 Surface cache controls in CLI and defaults
glenux/docmachine-cli
Reference
glenux/docmachine-cli#29
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Constat
Quand on veut garantir « pas de telechargement », Docker peut quand meme tenter un pull implicite au moment du
docker runselon la config/l'etat local.Actuellement
docmachine build:docker pulloudocker image loaddanssrc/build/run.cr#_pull_imagedocker run ... <image> <action>sans politique de pull explicite (src/container/docker_engine.cr).Attendu
--pull=never/--pull=ifmissing/--pull=always(ou un enum equivalent)--offline(ou--cache-only) qui:docker image load(et echoue si cache absent)--pull=neverPistes techniques
--pull=neveradocker run.--pull=neverpar defaut (comportement plus deterministe)Notes
Ce ticket vise surtout la garantie « zero download » (utile en CI offline / environnements verrouilles).