Summer Program — TASK 2

Task Description :

Run a GUI container on Docker .

Let’s start with the task :

Step 1: First let’s check if any container is/are running or not

command : docker ps
No container is running

Step 2 : Run a container with the env and net options

command : docker run -it --name=’os1’ --env=DISPLAY --net=host 



Task Description:

Create a Setup so that you can ping google but not able to ping Facebook from the same system.

First we use system that can ping both servers i.e facebook and google.

Let’s start the task:

Step 1: First check the rules in routing table.

command: route -n

Step 2: Check the IP of Google and facebook using nslookup

command: nslookup , nslookup