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

ENABLE SSL #213

Open
honoref opened this issue Apr 17, 2020 · 1 comment
Open

ENABLE SSL #213

honoref opened this issue Apr 17, 2020 · 1 comment

Comments

@honoref
Copy link

honoref commented Apr 17, 2020

Hi,
I use the image "v2" with ID 60d4b91e68fa87d28fe6100758ab5d57b26a0cafdf89e68908a2b6bbf912fca5

I try to run apache in SSL mode.
I can't add my server.crt and server.key with the docker-compose, volumes

WARNING: Service "reg-ui" is using volume "/etc/apache2/server.key" from the previous container. Host mapping ".../domain.key" has no effect. Remove the existing containers (with docker-compose rm reg-ui) to use the host volume mapping.

or with a Dockerfile COPY to make my own image.

ERROR: for reg-ui Cannot create container for service reg-ui: cannot mount volume over existing file, file exists /var/lib/docker/overlay2/0ee143c8a3e72cd9de515753a710d84503cd3e891016367d776741796a7b46e9/merged/etc/apache2/server.crt

I think it's because /etc/apache2/server.crt and /etc/apache2/server.key are folders ?
Is it normal ?

BR,

@harendra247
Copy link

I am also facing the same issue. How did you solve it?

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

2 participants