Configure Docker and Httpd using Ansible-Playbook.

  1. Configure Docker.
  2. Start and enable Docker Services.
  3. Pull the httpd server image from Docker Hub.
  4. Run the docker container and expose it to the public.
  5. Copy the html code in /var/www/html directory and start the web server.




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Alexandra O’Mahony —Software Development Engineer

Admin Panel (Django)

Contravariance in Two Minutes

Improve your Python — Five features to include in your code

Don’t Let Your Code Reviews Turn Into Hazing Fests

Fun with Multi-stage Dockerfiles

Looking forward to 2019

What is RISC-V, and why it matters?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


More from Medium

Connect Heroku & Datadog Logs

Digging deep into the database

Differences between static and dynamic libraries

Install Cribl Stream on RHEL 8 hosts