Since there seems to be people here that know allot about docker i give it a shot asking my question here:
I have a controlpanel installed for my gameservers.(Pterodactyl), Now they use docker to create the containers for the servers. Tho i want to use my machine for some webhosting apps for me and my mate as well. Now I installed LAMP on the server. Tested it and worked fine. Installed the Deamon for this controlpanel. And now Port 80 is closed. I made it opened it in the Firewalld. No result. I tried to turn firewalld off, Still no results. Is there a way to open port 80 to my machine and not just a single container? As for as far as im aware. This LAMP isnt running in a container.
There is this container running, Which i have a feeling is just the main container of the server. And i feel like i have to add port 80 to this container. But i have no idea how I can do that on startup everytime other then stopping the container, and use the run command.
Container ID: b67411ad872e
Command": “/usr/local/bin/sf…” Ports: 0.0.0.0:2022->22/tcp
I have not too much experience with Docker. so i was hoping people here would be able to help. Thanks in Advance!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!