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

Clean network logging in dockerimage #429

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

joschrew
Copy link

Fixes #426

This pr removes the possibly created (while creating the docker image) log-file and folders so that when an docker container with ocrd is created no logfiles and folders exist and thus are created with permissions of the user starting the docker container.

Alternative to OCR-D/core#1214

@MehmedGIT MehmedGIT self-requested a review April 25, 2024 04:46
@kba
Copy link
Member

kba commented May 3, 2024

Is this superseded by OCR-D/core#1214?

@stweil
Copy link
Collaborator

stweil commented May 3, 2024

Is this superseded by OCR-D/core#1214?

I don't think that one is a valid solution because of security concerns.

@joschrew
Copy link
Author

joschrew commented May 6, 2024

Is this superseded by OCR-D/core#1214?

When I thought about the issue I came up with this two (both mentioned pr's) possible solutions. I think both possibly fixes the described problem. The "problem" with this PR is, it only fixes the problem with the ocrd-all-docker-image, and not if similar things happen with other images using ocrd like ocrd-processors.

@joschrew joschrew marked this pull request as ready for review June 4, 2024 12:51
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.

Docker: Logfile permissions problems
4 participants