15/08/2025
MICROSOFT POWERPOINT SHORTCUT KEYS ๐๐ป๐ฏ
From noida, Delhi
15/08/2025
MICROSOFT POWERPOINT SHORTCUT KEYS ๐๐ป๐ฏ
22/05/2024
All-in-One School ERP Software for K-12 Schools.
โ
School Fee Management
โ
Class Routine Schedule
โ
Daily Attendance
โ
Easy Customization
โ
Multi User/Language Support
โ
24x7 Accessibility across the Globe
25/04/2024
เคเค เคนเฅ เค
เคชเคจเฅ E - Commerce Website เคฌเคจเคตเคพเคเค
เคเคฐ เค
เคชเคจเฅ Business เคเฅ เคจเคฏเฅ เคเคเคเคพเคเคฏเฅเค เคชเคฐ เคฒเฅ เคเคพเค!
Contact: +91 7302-125050
11/04/2024
I need this ERP SOFTWARE. If anyone have please connect - WhatsApp +91 7302-125050
24/03/2024
26/11/2023
โฃ๏ธTop 15 Vulnerability Scanners
๐
17/11/2023
๐ ๐จ๐ป๐ฑ๐ฒ๐ฟ๐๐๐ฎ๐ป๐ฑ๐ถ๐ป๐ด ๐๐ผ๐ฐ๐ธ๐ฒ๐ฟ ๐ฃ๐ผ๐ฟ๐ ๐ ๐ฎ๐ฝ๐ฝ๐ถ๐ป๐ด๐๐ณ
Hey LinkedIn crew! ๐ So, In my yesterday's Docker session one student asked if we can create two docker container of the same image on the same VM i.e; coexistence of two docker container created from same docker image. If so the how we will do the port mapping ๐ข
๐ญ. ๐ง๐ต๐ฒ ๐ฆ๐ฒ๐๐๐ฝ:
Imagine you have a VM with a public IP - let's call it XYZ. On this VM, you want to run two containers from the image ๐ฎ๐ฑ๐ถ๐ท๐ฎ๐ถ๐๐๐ฎ๐น/๐๐ฎ๐ป๐๐ฎ:๐น๐ฎ๐๐ฒ๐๐.
๐๐ผ๐๐ต ๐ฐ๐ผ๐ป๐๐ฎ๐ถ๐ป๐ฒ๐ฟ๐ ๐ฒ๐
๐ฝ๐ผ๐๐ฒ ๐๐ต๐ฒ๐ถ๐ฟ ๐ฎ๐ฝ๐ฝ๐น๐ถ๐ฐ๐ฎ๐๐ถ๐ผ๐ป๐ ๐ผ๐ป ๐ฝ๐ผ๐ฟ๐ ๐ด๐ฌ๐ด๐ฌ, ๐ฏ๐๐ ๐๐ผ๐ ๐๐ฎ๐ป๐ ๐๐ผ ๐ฎ๐ฐ๐ฐ๐ฒ๐๐ ๐๐ต๐ฒ๐บ ๐ฒ๐
๐๐ฒ๐ฟ๐ป๐ฎ๐น๐น๐ ๐ผ๐ป ๐ฝ๐ผ๐ฟ๐๐ ๐ด๐ฌ๐ด๐ฌ ๐ฎ๐ป๐ฑ ๐ด๐ฌ๐ด๐ญ.
๐ฎ. ๐๐ผ๐ฐ๐ธ๐ฒ๐ฟ ๐ฅ๐๐ป ๐๐ผ๐บ๐บ๐ฎ๐ป๐ฑ:
Fire up the terminal and run these magical commands:
# ๐๐ผ๐ป๐๐ฎ๐ถ๐ป๐ฒ๐ฟ ๐ญ
๐ฑ๐ผ๐ฐ๐ธ๐ฒ๐ฟ ๐ฟ๐๐ป -๐ฑ -๐ฝ ๐ด๐ฌ๐ด๐ฌ:๐ด๐ฌ๐ด๐ฌ ๐ฎ๐ฑ๐ถ๐ท๐ฎ๐ถ๐๐๐ฎ๐น/๐๐ฎ๐ป๐๐ฎ:๐น๐ฎ๐๐ฒ๐๐
# ๐๐ผ๐ป๐๐ฎ๐ถ๐ป๐ฒ๐ฟ ๐ฎ
๐ฑ๐ผ๐ฐ๐ธ๐ฒ๐ฟ ๐ฟ๐๐ป -๐ฑ -๐ฝ ๐ด๐ฌ๐ด๐ญ:๐ด๐ฌ๐ด๐ฌ ๐ฎ๐ฑ๐ถ๐ท๐ฎ๐ถ๐๐๐ฎ๐น/๐๐ฎ๐ป๐๐ฎ:๐น๐ฎ๐๐ฒ๐๐
๐ฏ. ๐ช๐ต๐ฎ๐'๐ ๐๐ฎ๐ฝ๐ฝ๐ฒ๐ป๐ถ๐ป๐ด? ๐ค
-d: Runs containers in the background.
-p 8080:8080 and -p 8081:8080: Maps the container's port 8080 to the host's ports 8080 and 8081, respectively.
๐ฐ. ๐ฅ๐ฒ๐๐๐น๐:
Two containers are now happily running on your VM, ready to share their joy! ๐
๐ฑ. ๐๐ฐ๐ฐ๐ฒ๐๐๐ถ๐ป๐ด ๐๐ต๐ฒ ๐๐ฝ๐ฝ๐น๐ถ๐ฐ๐ฎ๐๐ถ๐ผ๐ป๐:
Open your browser and navigate to http://XYZ:8080 and http://XYZ:8081. Voila! You're witnessing the magic of containerization. Two applications, one VM, and a seamless browsing experience!
๐ช๐ต๐ ๐ถ๐ ๐๐ต๐ถ๐ ๐๐๐ฒ๐๐ผ๐บ๐ฒ?
๐๐๐ผ๐น๐ฎ๐๐ถ๐ผ๐ป: Containers keep applications isolated, preventing conflicts.
๐ฃ๐ผ๐ฟ๐ ๐ ๐ฎ๐ฝ๐ฝ๐ถ๐ป๐ด: Docker's port mapping allows multiple containers to coexist peacefully on the same VM.
๐ฆ๐ฐ๐ฎ๐น๐ฎ๐ฏ๐ถ๐น๐ถ๐๐: Easily scale your applications by adding more containers or replicating the existing ones.
Share your thoughts on Docker magic below! Have you tried something similar, or do you have other containerization tricks up your sleeve? Let's discuss! ๐ฌ๐
Follow for more
29/10/2023
CURL Cheat Sheet
25/10/2023
Best Cybersecurity Tools.
20/10/2023
Top 10 Cloud Certifications
20/10/2023
๐งฌRouting in Ipv4 and and Ipv6:
1. How routing happens in Ipv4?
IPv4 routing tables contain a list of IP addresses and the corresponding next-hop router.
The next-hop router is the router that is directly connected to the destination network.
When a router receives an IPv4 packet, it looks up the destination IP address in its routing table.
If the router has a route for the destination IP address, it forwards the packet to the next-hop router.
If the router does not have a route for the destination IP address, it sends an ICMP Destination Unreachable message back to the sender.
2. How routing happens in Ipv6?
IPv6 routing is similar to IPv4 routing, but there are a few key differences.
First, IPv6 routing tables contain a list of prefixes and the corresponding next-hop router.
A prefix is a group of IPv6 addresses that share a common starting address.
Second, IPv6 routers use a variety of techniques to determine the best path to send packets.
One common technique is to use Path MTU Discovery (PMTUD).
PMTUD is a process that allows routers to determine the maximum packet size that can be transmitted over a link.
Third, IPv6 routers use a technique called next-header to process packets.
The next-header field in the IPv6 header specifies the type of header that follows the IPv6 header.
This allows routers to efficiently process packets with different types of options.
In the Image it shows a simple IPv4 network with two subnets, A and B.
Subnet A is connected to router R1, and subnet B is connected to router R2.
The two routers are connected to each other via a link.
3. IPv4 routing in this network would work as follows:
- A device on subnet A wants to send a packet to a device on subnet B.
- The device on subnet A sends the packet to its default gateway, which is router R1.
- Router R1 looks up the destination IP address in its routing table. The routing table tells router R1 that the best path to the destination is through router R2.
- Router R1 forwards the packet to router R2.
- Router R2 looks up the destination IP address in its routing table.
- The routing table tells router R2 that the destination IP address is on subnet B.
- Router R2 forwards the packet to the device on subnet B.
The routing table on each router is populated using a combination of static and dynamic routing protocols.
Static routes are manually configured by the network administrator.
Dynamic routes are learned from other routers on the network using routing protocols such as RIP, OSPF, and BGP.
In this specific example, the routing table on router R1 would have the following entry:
Destination IP address: 10.0.1.0/24
Next hop: Router R2
The routing table on router R2 would have the following entry:
Destination IP address: 10.0.0.0/24
Next hop: Router R1
These entries tell the routers that the best path to the 10.0.1.0/24 network is through the other router.
4. IPv6 routing in this network would work as follows:
The image shows a simple IPv6 routing scenario with two routers, R1 and R2, and two PCs, PC0 and PC1.
All devices are connected to the same LAN subnet, FC00:11:11:11::/64.
Sure. Here is an explanation of the IPv6 routing scenario in the image you sent, with the names of the PCs changed to PC0 and PC1:
IPv6 routing between PC0 and PC1:
- PC0 wants to send a packet to PC1.
It will first look up the IP address of PC1 in its ARP cache.
If the IP address is not found in the cache, PC0 will send an ARP request to the broadcast address of the LAN subnet.
- R2 and R1 will both receive the ARP request. However, only R2 will respond, since it is the gateway for the LAN subnet.
- PC0 will receive the ARP response from R2 and update its ARP cache with the MAC address of PC1.
- PC0 will then encapsulate the packet in an IPv6 datagram and send it to the MAC address of PC1.
- R2 will receive the IPv6 datagram and forward it to PC1, based on the destination IP address.
- PC1 will receive the IPv6 datagram and decapsulate it to extract the original packet.
- PC1 will then process the packet.
The same process will occur in reverse when PC1 wants to send a packet to PC0.
๐
20/10/2023
Is DevOps Not for Me Anymore?
Do you want pour your heart out here because you feel like you are about to burst. Are you that tech-savvy guy? But lost my motivation for it and departed. Did you used to be good at programming ?.
If you have no one to turn to for guidance, have no friends, do you want to reaching out to someone. Maybe programming might be my calling you back & IT is the only skill you know how to learn. This is the right place to open up & get help, suggestions.
Since about 3 years now I'm working on a series of short YouTube videos about basics of DevOps,Docker,Kubernetes,Ansible, Cloud and more!.
If you want to exploring other career options like DevOps or learn web development or something else , let us know how we can help you to support.
pic credit: kodekloud