ARTH — Task 14 👨🏻‍💻

  1. Install “ansible” in the controller node.
CMD: yum install ansible
* To start your docker service
cmd: systemctl start docker
*To see status of your docker service
cmd: systemctl status docker
cmd: docker run -it  --name  <Container_Name>  <docker_image_name>:<version>
* To see images in docker
cmd: docker images
* To see at present running images
cmd: docker ps -a
* To install SSH server
cmd: yum install openssh-server -y
* To install SSH client
cmd: yum install openssh-clients -y
* To install passwd
cmd: yum install passwd -y
INSTALL SSH SERVER
INSTALL SSH CLIENT
INSTALL PASSWD
  • Set the password for root
cmd: passwd root
cmd: docker commit <image_id> <image_name>:<version>
cmd: pip3 install docker.py
  1. Run playbook task14.2.yml:

TASK ENDS…

--

--

--

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

Recommended from Medium

CS373 Spring 2022 Week 14: Kushal Dandamudi

From Prototype to Work of Art in Unity

Webview hidden costs

Why Choose Magento for eсommerce: Major Magento Benefits and Features

Why choose Magento for е-сommerce:

A Software Engineer journey to electronics and product design (Part 1)

Hello Azure: An Introduction to Cloud Computing

Best Kodi Addons 2022 Last Updated Daily (Kodi 19.4 & 18)

Best Kodi Addons 2022 Last Updated Daily (Kodi 19.4 & 18)

How to Undo the Last Commit using git reset Command?

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
Saranya. S

Saranya. S

More from Medium

How to extract a single agency from a GTFS file and use that to run OTP with Docker

How to create a Sparkline in Excel — So Simple 2022

Configuring HTTPD webserver & Setting up Python Interpreter and running Python Code on Docker…

OFAC Checker: A sophisticated tool for instant sanctions compliance checking