Web: https://www.reddit.com/r/docker/comments/s00hfr/beginner_docker_questions/

Jan. 9, 2022, 8:18 p.m. | /u/stateofidleness

Docker: An open source project to pack, ship and run any application as a lightweight container reddit.com

Hi, learning Docker atm. Something I'm a bit confused on when it comes to selecting a container from Docker Hub website. Let's say I want a traditional linux + apache/nginx build. In the Dockerfile, how do you "combine" those two things? On the Hub site, there's a container for Linux (like centos), and there's also a base container for "httpd" or "nginx". How do you write a Docker file to "combine" all those different requirements into a single container?

submitted by /u/stateofidleness
[link] [comments]


Staff Support Engineer - Terraform

@ HashiCorp | United States (Remote)

Cloud Security Engineer

@ Novetta | Arlington, VA

AWS Solutions Architect - FL

@ Amazon.com | US, FL, Virtual Location - Florida

DevOps Engineer, Cloud

@ Hyperscience | Germany

Cloud Infrastructure Architect, Professional Services, Federal Civilian focus

@ Amazon.com | US, MD, Virtual Location - Maryland

DevOps Engineer (Acronis Cyber Files) (w/m/d)

@ Acronis | Munich, Germany