Docker
Installation On Windows
Note: I would never recommend trying docker on windows.You might doubt your existence and feel like pulling all the hair from your head.
Note:Ubuntu WSL is not sufficient to run docker.Shall not be considered a substitute.
For Windows Home:
- 1 : As Docker is only available for Windows enterprise edition
- 2 : After Installing docker
- 3 : Edit Windows Version in Registry
- 4 : Press Windows + R and write regedit
- 5 : In the Registry Editor, go to \HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
- 6 : Right-click on EditionID and Click Modify
- 7 : Change Value Data to "Professional"
- 8 : Press OK
- Install Docker Desktop
- After the installation, you can change the EditionID back to "Core"
- After this install docker toolbox
- Ensure that nothing like Hyper-V or Windows Virtualization platform is Running
- : Check this thread
Commands
- To start : net start com.docker.service
- docker ps -a : List all the containers
- docker run : Run an image.If it does not exist it will be pulled from docker-hub
- docker stop ID : Stop a running container
- docker rm ID(First few letters will do) : Remove a container permanently
- docker images : List of images on System
- docker rmi : Remove an image
- docker pull : Pull the image
- Ports 1024-49151: Registered Ports,used for lots of other network services
FireWalls
- A device that blocks traffic which meets certain crtiteria
- Can function on multiple layers of network
- How do they work?
- Can perform inspection of application layer traffic
- Can block ranges of IP Addresses
- Only sometimes are they independent network devices.For most of the networks firewall performs the function of router+firewall
