Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

is it possible to install apache2,php on a docker container with my discourse site? because i want to be able to run apache2 sites with my discourse site.
i’ve tried these: https://docs.docker.com/samples/library/httpd/ https://writing.pupius.co.uk/apache-and-php-on-docker-44faef716150 https://stackoverflow.com/questions/27768194/how-to-use-docker-container-as-apache-server
but they always came back with errors. any help is appreciated!
Some of the errors:
root@vps1:~# COPY ./public-html/ /usr/local/apache2/htdocs/
COPY: command not found
root@vps1:~# docker run -dit --name apache-web -v "$PWD":/usr/local/apache2/htdocs/ httpd:2.4
Unable to find image 'httpd:2.4' locally
2.4: Pulling from library/httpd
d660b1f15b9b: Pull complete
aa1c79a2fa37: Pull complete
f5f6514c0aff: Pull complete
676d3dd26040: Pull complete
4fdddf845a1b: Pull complete
28ecdadc5f88: Pull complete
5d882098e42b: Pull complete
Digest: sha256:2edbf09d0dbdf2a3e21e4cb52f3385ad916c01dc2528868bc3499111cc54e937
Status: Downloaded newer image for httpd:2.4
fd54e22eb0a3459de92580436faa24f88c6a47b97ce65d726d9fb87f3970bc54
root@vps1:~# docker run -dit --name apache-web -v "$PWD":/usr/local/apache2/htdocs/ httpd:2.4
docker: Error response from daemon: Conflict. The container name "/apache-web" is already in use by container "fd54e22eb0a3459de92580436faa24f88c6a47b97ce65d726d9fb87f3970bc54". You have to remove (or rename) that container to be able to reuse that name.
See 'docker run --help'.
root@vps1:~# cd /usr/local/apache2/conf
-bash: cd: /usr/local/apache2/conf: No such file or directory
root@vps1:~# nano /usr/local/apache2/conf
root@vps1:~# ./Dockerfile
-bash: ./Dockerfile: No such file or directory
root@vps1:~# ./apache-config.conf
-bash: ./apache-config.conf: No such file or directory
root@vps1:~# ./www/index.php
-bash: ./www/index.php: No such file or directory
root@vps1:~# FROM httpd:2.4
FROM: command not found
root@vps1:~# COPY ./public-html/ /usr/local/apache2/htdocs/
COPY: command not found
lwmeozrcbh
d1dd3d9538cc4d06b53e6d1d338d3f
50ff4e4b3c6c4999a12403b1ecda95
a6309a057c3f4cb38fb2e7feb67236
72e571841e7f4a6881090a2f3e93c0
7ce6bf277bff4d429ba493dd750e35
57a72a98162f46a5a5cd04d9b
Thomas Brocken
11575c6d695643cdb40ad47d0f1aea
tez.saad