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

Accessing apache files #1481

Closed
WojakGra opened this issue Dec 28, 2023 · 1 comment
Closed

Accessing apache files #1481

WojakGra opened this issue Dec 28, 2023 · 1 comment

Comments

@WojakGra
Copy link

Is it possible to connect Apache files to a volume so that they are automatically added there when creating a container, or do they have to be copied manually?

@kphunter
Copy link

  • using docker compose: yes - you can specify a volume mount to a specific file using either the short or long syntax
  • using Kubernetes: yes - you can specify a configMap as a volume and bind it to a container using a volume mount
  • if you copy Apache files using the COPY command in a Dockerfile, you lose the benefit of being able to update the configuration independently from the image

@tianon tianon closed this as completed Jan 4, 2024
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

No branches or pull requests

3 participants