Score:0

Docker php7.4 container

tr flag

I wonder if anyone could direct me in the right direction with this as I am totally new to this.

I have a question in regard to docker and containers - If I pull a container with php7.4 can I make it available across my installation of Ubuntu or do I have to stick to this container and work within the container?

What I am trying to do is have an Apache server running my website and Owncloud, and be both accessible over the internet. I can get both containers running with no bother but they aren't accessible from the internet (only localhost).

Then I was reading about traefik - spent a day playing with it and managed to set up both Apache and Owncloud but again I couldn't access them over the internet and also had issues with https. This is all very interesting and I know I have a lot to learn but when I open one door there are another 10 behind them and I am a bit lost.

in flag
You will want to look at using Apache on your as a proxy for the containers. This is generally the simpler way to accomplish the goal (rather than employ port forwarding)
Marek Kozakowski avatar
tr flag
Hey, care to give more information or a point to a website so I can read about it ?
Artur Meinild avatar
vn flag
As Matigo said, PHP has official Docker images build with Apache - [see here](https://hub.docker.com/_/php). You would use the tag [7.4-apache](https://hub.docker.com/layers/library/php/7.4-apache/images/sha256-18b3497ee7f2099a90b66c23a0bc3d5261b12bab367263e1b40e9b004c39e882?context=explore).
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.