alpine-apache | Docker Apache2 in MPM mode image | Continuous Deployment library
kandi X-RAY | alpine-apache Summary
kandi X-RAY | alpine-apache Summary
Docker Apache2 in MPM mode image based on Alpine Linux.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of alpine-apache
alpine-apache Key Features
alpine-apache Examples and Code Snippets
Community Discussions
Trending Discussions on alpine-apache
QUESTION
I am successfully deploying a Laravel Web Application on ECS using a base image from PHP, in particular 7.3-apache-stretch
from https://hub.docker.com/_/php/
Being well aware of the discussion about Alpine Linux Images in Docker (granting significative reductions in the final image dimension), I wanted to give it a run, to see how it performed. Unfortunately, while with the CLI version it was very easy (using 7.3-cli-alpine3.9
), there is no apache-enabled version. What I would need is a Dockerfile
to use as a base for my developments.
Apache Only
Browsing SO, I found How do I run Apache 2 on Alpine in Docker? that brought my attention to https://github.com/nimmis/docker-alpine-apache, that enables apache, but PHP is completely missing, so I'd have to integrate this.
Running Apache/NGINX and PHP with FCGI
This other question Alpine variants of PHP and Apache/httpd in Docker brings us closer, but implies theuse of two containers, that is not what I want to have.
How should the Dockerfile
be to let me deploy a Laravel Web Application off the shelf ?
ANSWER
Answered 2019-Mar-21 at 09:45After two days of attempts, I finally arrived to a point in which I am able to deploy my Laravel Application on a php-enabled apache container. Since the number of issues found was countless, here is the final Dockerfile
, and an explanation of the sections:
QUESTION
I am trying to serve git repos over http
using Alpine's Apache image in Docker.
I am able to get Apache to serve up documents and folders over http
(there are some non git repos in this folder, this is just a proof of concept at the moment, so they can be ignored):
However when I attempt to clone the git repo's, I can only successfully clone the DynamicDockerTesting.git
repo. When attempting to clone the other repo's I get
ANSWER
Answered 2018-May-14 at 04:52ScriptAlias /git/ /usr/libexec/git-core/git-http-backend
QUESTION
I am new to Containers and trying wrap my head around it using the tutorial:
http://containertutorials.com/alpine/alpine-apache-server-static-site.html
Here I create the dockerfile and try to run the container but it fails everytime. Any pointers?
...ANSWER
Answered 2017-Nov-21 at 10:30It's a known issue with that docker image. See this issue and this. It's not getting fixed for nearly a year now so my advice is to use another Docker image with Apache.
You can try the official repo. Just cd
into directory with your files and
QUESTION
I am currently learning docker and following this tutorial.
http://containertutorials.com/alpine/alpine-apache-server-static-site.html
I have follow all the steps but the docker container keeps exiting within a few seconds. Here is the log,
...ANSWER
Answered 2017-Oct-22 at 14:02I followed the tutorial, got the same error. Seems like a problem with the source image from smebberson/alpine-apache.
Solve your problem by not solving your problem: find another tutorial (using another image) to learn with. Don't lose sleep over this particular tutorial!
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install alpine-apache
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page