-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add no-file and keep-file log option for docker driver. (#1906)
* Add no-file and keep-file option. By default no-file is false, this means the driver will create json log files that can be used to run `docker logs` command. If no-file is true, no files are created and so `docker log` won't work. This allow the ability to run the driver without caring of space left on the host. keep-file tells the driver to keep file even after the container has been stopped, by default this options is false. This means files are cleaned up once containers are stopped and not history is left to be used for `docker logs`. Signed-off-by: Cyril Tovena <[email protected]> * Review feedback ! Signed-off-by: Cyril Tovena <[email protected]>
- Loading branch information
1 parent
2c8251f
commit 25aed2b
Showing
3 changed files
with
91 additions
and
40 deletions.
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
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