Tag Archives: 2016

Bringing Device Support to Windows Server Containers

When we introduced containers to Windows with the release of Windows Server 2016, our primary goal was to support traditional server-oriented applications and workloads. As time has gone on, we’ve heard feedback from our users about how certain workloads need access to peripheral devices—a problem when you try to wrap those workloads in a container. We’re introducing support for select host device access from Windows Server containers, beginning in Insider Build 17735 (see table below).

We’ve contributed these changes back to the Open Containers Initiative (OCI) specification for Windows. We will be submitting changes to Docker to enable this functionality soon. Watch the video below for a simple example of this work in action (hint: maximize the video).

What’s Happening

To provide a simple demonstration of the workflow, we have a simple client application that listens on a COM port and reports incoming integer values (powershell console on the right). We did not have any devices on hand to speak over physical COM, so we ran the application inside of a VM and assigned the VM’s virtual COM port to the container. To mimic a COM device, an application was created to generate random integer values and send it over a named pipe to the VM’s virtual COM port (this is the powershell console on the left).

As we see in the video at the beginning, if we do not assign COM ports to our container, when the application runs in the container and tries to open a handle to the COM port, it fails with an IOException (because as far as the container knew, the COM port didn’t exist!). On our second run of the container, we assign the COM port to the container and the application successfully gets and prints out the incoming random ints generated by our app running on the host.

How It Works

Let’s look at how it will work in Docker. From a shell, a user will type:

docker run --device="/"

For example, if you wanted to pass a COM port to your container:

docker run --device="class/86E0D1E0-8089-11D0-9CE4-08003E301F73" mcr.microsoft.com/windowsservercore-insider:latest

The value we’re passing to the device argument is simple: it looks for an IdType and an Id. For this coming release of Windows , we only support an IdType of “class”. For Id, this is  a device interface class GUID. The values are delimited by a slash, “/”.  Whereas  in Linux a user assigns individual devices by specifying a file path in the “/dev/” namespace, in Windows we’re adding support for a user to specify an interface class, and all devices which identify as implementing this class   will be plumbed into the container.

If a user wants to specify multiple classes to assign to a container:

docker run --device="class/86E0D1E0-8089-11D0-9CE4-08003E301F73" --device="class/DCDE6AF9-6610-4285-828F-CAAF78C424CC" --device="…" mcr.microsoft.com/windowsservercore-insider:latest

What are the Limitations?

Process isolation only: We only support passing devices to containers running in process isolation; Hyper-V isolation is not supported, nor do we support host device access for Linux Containers on Windows (LCOW).

We support a distinct list of devices: In this release, we targeted enabling a specific set of features and a specific set of host device classes. We’re starting with simple buses. The complete list that we currently support  is  below.

Device Type Interface Class  GUID
GPIO 916EF1CB-8426-468D-A6F7-9AE8076881B3
I2C Bus A11EE3C6-8421-4202-A3E7-B91FF90188E4
COM Port 86E0D1E0-8089-11D0-9CE4-08003E301F73
SPI Bus DCDE6AF9-6610-4285-828F-CAAF78C424CC

Stay tuned for a Part 2 of this blog that explores the architectural decisions we chose to make in Windows to add this support.

What’s Next?

We’re eager to get your feedback. What specific devices are most interesting for you and what workload would you hope to accomplish with them? Are there other ways you’d like to be able to access devices in containers? Leave a comment below or feel free to tweet at me.

Cheers,

Craig Wilhite (@CraigWilhite)

For Trade – Dell Inspiron 17 5000 Series Laptop, Intel Core i7, 8GB RAM, 1TB, 17.3″ Full HD

Purchased from John Lewis December 2016, no longer needed so listing it on here, few scuffs on the lid.
No box but will be well packaged
Spec below

Waves MaxxAudio Pro
6.5 hours Battery Life
Bluetooth Enabled
DVD/RW
Integrated Widescreen HD 720P Webcam with Dual Digital Microphone Array
Full HD LED 17.3″ 1920 x 1080 pixels
AMD Radeon R7 M445 4GB DDR3
1TB
Backlit Keyboard
8GB RAM
3-in-1 Card Reader (SD, SDHC, SDXC)
Windows 10 (64 bit)
1x HDMI,1x USB3.0, 2x USB2.0
Intel Core i7-7500U
2.7GHz to 3.5GHz with Turbo Boost
Inspiron 17
Wi-Fi- 802.11ac

Price and currency: £399
Delivery: Delivery cost is included within my country
Payment method: BT
Location: Derby
Advertised elsewhere?: Advertised elsewhere
Prefer goods collected?: I have no preference

______________________________________________________
This message is automatically inserted in all classifieds forum threads.
By replying to this thread you agree to abide by the trading rules detailed here.
Please be advised, all buyers and sellers should satisfy themselves that the other party is genuine by providing the following via private conversation to each other after negotiations are complete and prior to dispatching goods and making payment:

  • Landline telephone number. Make a call to check out the area code and number are correct, too
  • Name and address including postcode
  • Valid e-mail address

DO NOT proceed with a deal until you are completely satisfied with all details being correct. It’s in your best interest to check out these details yourself.

For Trade – Dell Inspiron 17 5000 Series Laptop, Intel Core i7, 8GB RAM, 1TB, 17.3″ Full HD

Purchased from John Lewis December 2016, no longer needed so listing it on here, few scuffs on the lid.
No box but will be well packaged
Spec below

Waves MaxxAudio Pro
6.5 hours Battery Life
Bluetooth Enabled
DVD/RW
Integrated Widescreen HD 720P Webcam with Dual Digital Microphone Array
Full HD LED 17.3″ 1920 x 1080 pixels
AMD Radeon R7 M445 4GB DDR3
1TB
Backlit Keyboard
8GB RAM
3-in-1 Card Reader (SD, SDHC, SDXC)
Windows 10 (64 bit)
1x HDMI,1x USB3.0, 2x USB2.0
Intel Core i7-7500U
2.7GHz to 3.5GHz with Turbo Boost
Inspiron 17
Wi-Fi- 802.11ac

Price and currency: £399
Delivery: Delivery cost is included within my country
Payment method: BT
Location: Derby
Advertised elsewhere?: Advertised elsewhere
Prefer goods collected?: I have no preference

______________________________________________________
This message is automatically inserted in all classifieds forum threads.
By replying to this thread you agree to abide by the trading rules detailed here.
Please be advised, all buyers and sellers should satisfy themselves that the other party is genuine by providing the following via private conversation to each other after negotiations are complete and prior to dispatching goods and making payment:

  • Landline telephone number. Make a call to check out the area code and number are correct, too
  • Name and address including postcode
  • Valid e-mail address

DO NOT proceed with a deal until you are completely satisfied with all details being correct. It’s in your best interest to check out these details yourself.

For Trade – MacBook Pro (15-inch, 2016)

Have for sale in excellent condition a 2016 15 inch MacBook Pro under warranty until Jan 2019. Bought from the Apple refurb store and comes in provided box with charger.

This is an amazingly powerful machine with a Retina display and dedicated graphics that has flown through everything I’ve asked it to do.

Just require something a bit more portable and seemed to have ended up with a 12″ MacBook, 13″ MBP and this. I think a 13″ MBP with TB would suit my needs or maybe iPad that supports Apple pen.

Asking for £1350, comes with blue Tucano hard shell case.

Collection preferred on this one

Touch Bar

  • Touch Bar with integrated Touch ID sensor

Finish

  • Space Gray

Display

  • Retina display
  • 15.4-inch (diagonal) LED-backlit display with IPS technology; 2880-by-1800 native resolution at 220 pixels per inch with support for millions of colors
  • 500 nits brightness
  • Wide color gamut (P3)

Processor

  • 2.6GHz
    2.6GHz quad-core Intel Core i7, Turbo Boost up to 3.5GHz, with 6MB shared L3 cache
    Configurable to 2.9GHz quad-core Intel Core i7, Turbo Boost up to 3.8GHz, with 8MB shared L3 cache

Storage1

  • 256GB
    256GB PCIe-based onboard SSD
    Configurable to 512GB, 1TB, or 2TB SSD

Memory

  • 16GB of 2133MHz LPDDR3 onboard memory

Graphics

  • Radeon Pro 450 with 2GB of GDDR5 memory and automatic graphics switching
    Intel HD Graphics 530

Price and currency: 1350
Delivery: Delivery cost is not included
Payment method: BT
Location: North London, N22
Advertised elsewhere?: Not advertised elsewhere
Prefer goods collected?: I prefer the goods to be collected

______________________________________________________
This message is automatically inserted in all classifieds forum threads.
By replying to this thread you agree to abide by the trading rules detailed here.
Please be advised, all buyers and sellers should satisfy themselves that the other party is genuine by providing the following via private conversation to each other after negotiations are complete and prior to dispatching goods and making payment:

  • Landline telephone number. Make a call to check out the area code and number are correct, too
  • Name and address including postcode
  • Valid e-mail address

DO NOT proceed with a deal until you are completely satisfied with all details being correct. It’s in your best interest to check out these details yourself.

For Sale – Zotac GTX 1070 AMP Extreme

Purchased Nov or Dec 2016 and I have registered for the 5 year extended warranty. Mostly just used to run OW and CS:GO on the system. Never overclocked or mined on. Performance of thees not too far off a 1080, and its very silent and cool. Will come boxed with all accessories, has no marks and is in great condition.

Non-smoker/no pets if that matters. Asking £300 shipped or £290 collected.

Price and currency: 300
Delivery: Delivery cost is included within my country
Payment method: PayPal or BT
Location: UB2 West London
Advertised elsewhere?: Advertised elsewhere
Prefer goods collected?: I have no preference

______________________________________________________
This message is automatically inserted in all classifieds forum threads.
By replying to this thread you agree to abide by the trading rules detailed here.
Please be advised, all buyers and sellers should satisfy themselves that the other party is genuine by providing the following via private conversation to each other after negotiations are complete and prior to dispatching goods and making payment:

  • Landline telephone number. Make a call to check out the area code and number are correct, too
  • Name and address including postcode
  • Valid e-mail address

DO NOT proceed with a deal until you are completely satisfied with all details being correct. It’s in your best interest to check out these details yourself.

For Trade – MacBook Pro (15-inch, 2016)

Have for sale in excellent condition a 2016 15 inch MacBook Pro under warranty until Jan 2019. Bought from the Apple refurb store and comes in provided box with charger.

This is an amazingly powerful machine with a Retina display and dedicated graphics that has flown through everything I’ve asked it to do.

Just require something a bit more portable and seemed to have ended up with a 12″ MacBook, 13″ MBP and this. I think a 13″ MBP with TB would suit my needs or maybe iPad that supports Apple pen.

Asking for £1350, comes with blue Tucano hard shell case.

Collection preferred on this one

Touch Bar

  • Touch Bar with integrated Touch ID sensor

Finish

  • Space Gray

Display

  • Retina display
  • 15.4-inch (diagonal) LED-backlit display with IPS technology; 2880-by-1800 native resolution at 220 pixels per inch with support for millions of colors
  • 500 nits brightness
  • Wide color gamut (P3)

Processor

  • 2.6GHz
    2.6GHz quad-core Intel Core i7, Turbo Boost up to 3.5GHz, with 6MB shared L3 cache
    Configurable to 2.9GHz quad-core Intel Core i7, Turbo Boost up to 3.8GHz, with 8MB shared L3 cache

Storage1

  • 256GB
    256GB PCIe-based onboard SSD
    Configurable to 512GB, 1TB, or 2TB SSD

Memory

  • 16GB of 2133MHz LPDDR3 onboard memory

Graphics

  • Radeon Pro 450 with 2GB of GDDR5 memory and automatic graphics switching
    Intel HD Graphics 530

Price and currency: 1350
Delivery: Delivery cost is not included
Payment method: BT
Location: North London, N22
Advertised elsewhere?: Not advertised elsewhere
Prefer goods collected?: I prefer the goods to be collected

______________________________________________________
This message is automatically inserted in all classifieds forum threads.
By replying to this thread you agree to abide by the trading rules detailed here.
Please be advised, all buyers and sellers should satisfy themselves that the other party is genuine by providing the following via private conversation to each other after negotiations are complete and prior to dispatching goods and making payment:

  • Landline telephone number. Make a call to check out the area code and number are correct, too
  • Name and address including postcode
  • Valid e-mail address

DO NOT proceed with a deal until you are completely satisfied with all details being correct. It’s in your best interest to check out these details yourself.

For Sale – Zotac GTX 1070 AMP Extreme

Purchased Nov or Dec 2016 and I have registered for the 5 year extended warranty. Mostly just used to run OW and CS:GO on the system. Never overclocked or mined on. Performance of thees not too far off a 1080, and its very silent and cool. Will come boxed with all accessories, has no marks and is in great condition.

Non-smoker/no pets if that matters. Asking £300 shipped or £290 collected.

Price and currency: 300
Delivery: Delivery cost is included within my country
Payment method: PayPal or BT
Location: UB2 West London
Advertised elsewhere?: Advertised elsewhere
Prefer goods collected?: I have no preference

______________________________________________________
This message is automatically inserted in all classifieds forum threads.
By replying to this thread you agree to abide by the trading rules detailed here.
Please be advised, all buyers and sellers should satisfy themselves that the other party is genuine by providing the following via private conversation to each other after negotiations are complete and prior to dispatching goods and making payment:

  • Landline telephone number. Make a call to check out the area code and number are correct, too
  • Name and address including postcode
  • Valid e-mail address

DO NOT proceed with a deal until you are completely satisfied with all details being correct. It’s in your best interest to check out these details yourself.

For Sale – Zotac GTX 1070 AMP Extreme

Purchased Nov or Dec 2016 and I have registered for the 5 year extended warranty. Mostly just used to run OW and CS:GO on the system. Never overclocked or mined on. Performance of thees not too far off a 1080, and its very silent and cool. Will come boxed with all accessories, has no marks and is in great condition.

Non-smoker/no pets if that matters. Asking £300 shipped or £290 collected.

Price and currency: 300
Delivery: Delivery cost is included within my country
Payment method: PayPal or BT
Location: UB2 West London
Advertised elsewhere?: Advertised elsewhere
Prefer goods collected?: I have no preference

______________________________________________________
This message is automatically inserted in all classifieds forum threads.
By replying to this thread you agree to abide by the trading rules detailed here.
Please be advised, all buyers and sellers should satisfy themselves that the other party is genuine by providing the following via private conversation to each other after negotiations are complete and prior to dispatching goods and making payment:

  • Landline telephone number. Make a call to check out the area code and number are correct, too
  • Name and address including postcode
  • Valid e-mail address

DO NOT proceed with a deal until you are completely satisfied with all details being correct. It’s in your best interest to check out these details yourself.

For Trade – MacBook Pro (15-inch, 2016)

Have for sale in excellent condition a 2016 15 inch MacBook Pro under warranty until Jan 2019. Bought from the Apple refurb store and comes in provided box with charger.

This is an amazingly powerful machine with a Retina display and dedicated graphics that has flown through everything I’ve asked it to do.

Just require something a bit more portable and seemed to have ended up with a 12″ MacBook, 13″ MBP and this. I think a 13″ MBP with TB would suit my needs or maybe iPad that supports Apple pen.

Asking for £1350, comes with blue Tucano hard shell case.

Collection preferred on this one

Touch Bar

  • Touch Bar with integrated Touch ID sensor

Finish

  • Space Gray

Display

  • Retina display
  • 15.4-inch (diagonal) LED-backlit display with IPS technology; 2880-by-1800 native resolution at 220 pixels per inch with support for millions of colors
  • 500 nits brightness
  • Wide color gamut (P3)

Processor

  • 2.6GHz
    2.6GHz quad-core Intel Core i7, Turbo Boost up to 3.5GHz, with 6MB shared L3 cache
    Configurable to 2.9GHz quad-core Intel Core i7, Turbo Boost up to 3.8GHz, with 8MB shared L3 cache

Storage1

  • 256GB
    256GB PCIe-based onboard SSD
    Configurable to 512GB, 1TB, or 2TB SSD

Memory

  • 16GB of 2133MHz LPDDR3 onboard memory

Graphics

  • Radeon Pro 450 with 2GB of GDDR5 memory and automatic graphics switching
    Intel HD Graphics 530

Price and currency: 1350
Delivery: Delivery cost is not included
Payment method: BT
Location: North London, N22
Advertised elsewhere?: Not advertised elsewhere
Prefer goods collected?: I prefer the goods to be collected

______________________________________________________
This message is automatically inserted in all classifieds forum threads.
By replying to this thread you agree to abide by the trading rules detailed here.
Please be advised, all buyers and sellers should satisfy themselves that the other party is genuine by providing the following via private conversation to each other after negotiations are complete and prior to dispatching goods and making payment:

  • Landline telephone number. Make a call to check out the area code and number are correct, too
  • Name and address including postcode
  • Valid e-mail address

DO NOT proceed with a deal until you are completely satisfied with all details being correct. It’s in your best interest to check out these details yourself.

For Sale – Macbook Pro 2016 15″ 2.7ghz 16GB 512GB + Warranty

15″ macbook pro 2016 touch bar model, silver, 2.7ghz i7 16GB and 512GB ssd.perfect condition, original box with warranty until Nov 2018. Battery cycles 53. Will include a genuine apple usb-usb c adapter as well

Happy to deliver in person within reason, or I can post via your chosen courier at cost.

Price and currency: 1500
Delivery: Delivery cost is included within my country
Payment method: BT/Paypal Gift
Location: Milton Keynes
Advertised elsewhere?: Not advertised elsewhere
Prefer goods collected?: I have no preference

______________________________________________________
This message is automatically inserted in all classifieds forum threads.
By replying to this thread you agree to abide by the trading rules detailed here.
Please be advised, all buyers and sellers should satisfy themselves that the other party is genuine by providing the following via private conversation to each other after negotiations are complete and prior to dispatching goods and making payment:

  • Landline telephone number. Make a call to check out the area code and number are correct, too
  • Name and address including postcode
  • Valid e-mail address

DO NOT proceed with a deal until you are completely satisfied with all details being correct. It’s in your best interest to check out these details yourself.