Skip to content

How to keep custom daemon.json ? #182

@jrabary

Description

@jrabary

The gpu-operator changes the /etc/docker/daemon.json to add the nvidia-runtime automatically. But the downside is that it removes all custom configuration written in this file.
Specifically we would like to add the following lines to our daemon.json

"exec-opts": ["native.cgroupdriver=systemd"],
"log-driver": "json-file",
"log-opts": {
    "max-size": "100m"
 },
 "storage-driver": "overlay2"

How to tell gpu-operator to not remove these lines ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions