[v1.6.0] The nodes added after installation do not use the local docker cache by default.
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2.7k
- Forks
- 554
- Avg merge
- 20h 42m
- Merged PRs (30d)
- 14
Description
Organization Name:
Short summary about the issue/question: The nodes added after installation do not use the local docker cache by default.
Brief what process you are following:
- install v1.6.0 on master and work-01 (
/etc/docker/daemon.json onmaster must be{}); - add node worker-02;
- open
/etc/docker/daemon.json.
master:
{"insecure-registries": ["http://master_ip:30500"], "registry-mirrors": ["http://master_ip:30500"]}
work-01:
{"default-runtime": "nvidia", "registry-mirrors": ["http://master_ip:30500"], "runtimes": {"nvidia": {"path": "/usr/bin/nvidia-container-runtime", "runtimeArgs": []}}, "insecure-registries": ["http://master_ip:30500"]}
work-02:
{
"default-runtime": "nvidia",
"runtimes": {
"nvidia": {
"path": "/usr/bin/nvidia-container-runtime",
"runtimeArgs": []
}
}
}
How to reproduce it:
OpenPAI Environment:
- OpenPAI version: v1.6.0
- Cloud provider or hardware configuration:
- OS (e.g. from /etc/os-release): ubuntu 16.04
- Kernel (e.g.
uname -a): - Hardware (e.g. core number, memory size, storage size, GPU type etc.):
- Others:
Anything else we need to know:
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how /etc/docker/daemon.json is generated during initial installation and when work-02 is added. Compare the resulting configuration with master and work-01; done means newly added nodes receive the local registry mirror and insecure-registry settings needed to use the Docker cache by default.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100