Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow setting docker_host and log_driver #5

Merged
merged 1 commit into from
Aug 16, 2024
Merged

Conversation

sdclarke
Copy link
Collaborator

@sdclarke sdclarke commented Aug 15, 2024

These changes allow for more flexibility in the configuration of the container

For example it is possible to give the path of a podman socket in place of a docker socket.

It is also possible to switch to a different log-driver which handles log rotation.

abderrahim
abderrahim previously approved these changes Aug 15, 2024
Copy link
Collaborator

@abderrahim abderrahim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

These changes allow for more flexibility in the configuration of the
container
@sdclarke
Copy link
Collaborator Author

I realised the default settings for the log driver could unexpectedly clobber whatever was set at the daemon level if people chose to configure it that way, so I've replaced the defaults with an empty string and dictionary, which will default to whatever the daemon is configured to do.

@sdclarke sdclarke merged commit 6ed26d3 into main Aug 16, 2024
1 check passed
@sdclarke sdclarke deleted the scott/docker-host branch August 16, 2024 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants