Ansible to configure Docker Container

Ansible to configure Docker Container

Description: Write an Ansible PlayBook that does the following operations in the managed nodes:


?? Configure Docker

?? Start and enable Docker services

?? Pull the httpd server image from the Docker Hub

?? Run the httpd container and expose it to the public

?? Copy the html code in /var/www/html directory and start the web server

for code visit github link click here:

No alt text provided for this image
No alt text provided for this image


要查看或添加评论,请登录

Shailendra Kumar的更多文章

  • Hybrid Cloud ->Task1

    Hybrid Cloud ->Task1

    ?? Create a key pair ?? Create a security group ?? Launch an instance using the above created key pair and security…

  • GCP workshop by Vimal Daga sir

    GCP workshop by Vimal Daga sir

    Hello Connections, Finally I have completed GCP cloud wokshop from the Linux World Informatics Pvt Ltd, under the…

  • Configure EC2 Instance with help of Ansible

    Configure EC2 Instance with help of Ansible

    ?? Launch an AWS instance with the help of ansible. ?? Retrieve the public IP which is allocated to the launched…

社区洞察

其他会员也浏览了