Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a configuration about docker runtime directory
Control the disk space used for Docker images, containers and volumes is important for us.We need add configuration of docker daemon to control the disk spaces used for docker images, containers and volumes. Change-Id: I3cf99f4e3f62c8406d37201b1cc24a83c68e3b27 Signed-off-by: pengdake <19921207pq@gmail.com>
- Loading branch information
Showing
3 changed files
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[Service] | ||
MountFlags=shared | ||
ExecStart= | ||
ExecStart=/usr/bin/{{ docker_binary_name|default("docker daemon", true) }}{% if docker_registry %} --insecure-registry {{ docker_registry }}{% endif %}{% if docker_storage_driver %} --storage-driver {{ docker_storage_driver }}{% endif %} | ||
ExecStart=/usr/bin/{{ docker_binary_name|default("docker daemon", true) }}{% if docker_registry %} --insecure-registry {{ docker_registry }}{% endif %}{% if docker_storage_driver %} --storage-driver {{ docker_storage_driver }}{% endif %}{% if docker_runtime_directory %} --graph {{ docker_runtime_directory }}{% endif %} |
5 changes: 5 additions & 0 deletions
5
releasenotes/notes/support-docker-runtime-directory-set-da7e77a70626c0d1.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
features: | ||
- | | ||
Set docker runtime directory by configure the docker daemon.An operator | ||
named "docker_runtime_directory" will be add. |