kavya3672.hashnode.devDay 17 Task: Docker Project for DevOps Engineers.task: Create a Dockerfile for a simple web application (e.g. a Node.js or Python app) Build the image using the Dockerfile and run the container Verify that the application is working as expected by accessing it in a web browser Push the image to...Aug 24, 2023·2 min read
kavya3672.hashnode.devDay 16 Task: Docker for DevOps Engineers.Use the docker run command to start a new container and interact with it through the command line. [Hint: docker run hello-world] You could use a command like this: docker run -it hello-world /bin/bash Breaking down the command: docker run: This is...Aug 18, 2023·3 min read
kavya3672.hashnode.devDay-15 Task: Python Libraries for DevOpsCreate a Dictionary in Python and write it to a json File. import json # Create a dictionary data = { "name": "John Doe", "age": 30, "city": "New York" } # Specify the file path file_path = "data.json" # Write the dictionary to a JSON ...Aug 16, 2023·2 min read
kavya3672.hashnode.devDay 13 Task: Python Data Types and Data Structures for DevOpsList: List is an ordered collection of items. Elements in a list are enclosed in square brackets [ ]. Lists are mutable, meaning you can add, remove, or modify elements after creation. Lists can contain duplicate elements. Hands-on Example for ...Jul 31, 2023·4 min read
kavya3672.hashnode.devDay-12 Python BasicsTask-1 Install Python in your respective OS, and check the version. Installing and Checking Python Version on Linux (CentOS/RHEL): Open the Terminal. Update package lists (if using yum): sudo yum update Install Python: For Python 3.x (CentOS ...Jul 31, 2023·2 min read