Hi all,
getting an issue while running docker-compose (v1.8) and docker 17.03ce. Need an expert help to solve the issue or suggest better way. This is happening only on an aws vm. On my local ubuntu virtualbox works fine. Here is the scenario:
- Generated a self signed cert on vm (openssl)
- Configured certificate path as apache/etc/apache2/external/mycerts/apache.cert in ssl.conf file and copied it into container through Dockerfile
- trying to map the cert and key from host into apache container with this snipped from docker-compose.yml
ports:
- “80:80”
- “443:443”
links:
- mydb
volumes:
- “/home/ubuntu/mycerts:/etc/apache2/external/mycerts”
When the container startsup its exits with an error that /etc/apache2/external/mycerts/apache.cert is not found
Any suggestions?