Skip to main content

Server 2016: Multi Interfaces Per NIC (Short); Docker For Windows Server (Longer)



Adding more than one IP address to an interface, just incase said interface is being woefully underused. This is a good way to use avaliable resources.

The primary interface is Ethernet, with an Index of 2.




There's no need to set the gateway, as these are all in the same subnet. There's also no Windows-Imposed limit. Your only limit is your imagination (and hardware).

Although I can add IP addresses, they want me to set up the Server properly before I can finangle with NIC teaming.



There are two starter users; Rosanta Galamad and Juke Morrow. The latter is an Administrator. The folder added is a gussied-up test folder.

Meanwhile, I pop ahead in the textbook (MSCA 70-740 Cert Guide) to see - A Docker chapter! We can do that! (If we get the internet working properly in the server - What happened?)

But we can install it on our host machine. Why not?





As you know, WS16 containers are about Isolation, each container has it's own view of the host, and they have kernel sharing.

Kernel mode is not shared with the Hyper-V, but it is connected to a container, and that container is surrounded by a H-V container with Hardware Assisted Virtualization, and that's connected to a user mode.

Look at it like this;

Kernel mode <---------> (Hyper-V [Container] Hyper-v) <---------> User Mode

There are

  • Container shared folders
  • Resource restrictions
Sandboxes are where modifications happen after a container starts.

Windows based container images have build hashtags that must match between the container and the operating system. These images run on Server Core and Nano Core.

The Container and Host are connected to the base and kernel, but not to each other.

✅ Your Version
HKEY_LOCAL_MACHINE\software\Microsoft\WindowsNT\Current Version

✅ Your Base Version and the Hash Table

You could mismatch host and image versions but they may not work properly, so why do it?

To download Docker through Powershell, Run as Admin and there's a code with syntax (See above).

The ENGINE is;

  • How the Daemon accepts requests
    • (Or the appropriate config file C:\ProgramData\Docker\Config\daemon.json)
    • (or sc config in PS)
  • How it networks
  • Debug/Logs
Deploy a Host by Installing the Base Image in Core or Nano.

Hyper-V Containers
  • Enable Nested virtualization on parent machine.
  • You can do this in PS Elevated with install-windowsFeature hyper-v
If you're trying to install something and it says 'install module not found', time to go back to the good old Linux days of hunting for the appropriate package to download.

Commands For Container Management;

Docker ___________
  • run (-it, a pseudo shell connected to a container)
  • ps (List of containers on host)
  • start
  • stop
  • attach (to a session on a running container)
  • rm (remove)
  • commit (new image)
These have the suffix -Container. Ex, get-container

Get- (list of containers on Host)
Start-
Stop-

Enter-Container Session


Comments

Popular posts from this blog

What Do You Need? [AKA; List of Offered Services / My Next Role] (2020)

I am a trusted outsourced remote consultant for your company.   I enjoy having the flexibility to take on temporary projects from time to time! I start at part-time, temp work for now. If we like each other, we can renegotiate. If anything sounds weird, out there, or unusual - Feel free to e-mail me .  3 Services Offered Writing :      You want to pay me to write more of *waves hand* this blog? I am game .     I write B2C e-mails going out to over 280 people weekly. [ Example Job Description ]        Auditing :        Something doesn't work on your page. I can find it, or you can lose business. [ Here ] [ Example Job Description ]   Technical: Still as-needed, always remote, contract, or temporary. IT Operations Tech [ Example Job Description ]     Hardware and SaaS support.     Cisco routing and switching (Networking). CCNA, A+, Sec+, Azure certified WORKING ON: Junos Networking Cloud Technician     Azure [ See tag ]  Support [Web: Example Job Description ] [Text : Example

Portfolio of UX/Product Feedback [Vol. 1]

Have You Looked at Your Webpage From the Customer's View Lately? You have probably been linked here from a form or my resume. If you have any questions about what I'm looking for in a role, click here .   This post is not to shame, but to point out errors and hopefully make my talent for finding and documenting such mistakes clear to someone hiring. Contents: Instances where I offer constructive feedback on someone's website, logo, or app. Actions that were taken by the developers or artists.  I'm glad you want your webpages to be the best they can be with my help; If you need your sites audited, e-mail me . Latest Update -  November 20th, 2020.   Vol. 2 is here .

Wireless Diagnostics on Mac OS; Packet Sniffing on a WLAN

There's a post sitting in my drafts about Wireshark and how to sniff packets out of the air that was going to be about sniffing for authentication packets for Wi-Fi hotspots that aren't broadcasting SSID (Which you shouldn't do apparently! It's still not safe). I was watching this video to find a little more information about how to properly use Monitoring mode on my Macbook to sniff for WLAN packets on the network. So when he said "Just open up Wireless Diagnostics and sniff your network (check your width and channel)." It was shocking to me.