Shayne Boyer - Docker Tools for Visual Studio

Sign in to queue

The Discussion

  • User profile image
    PerfectPhase

    Was hoping either of you might be able to answer a question I have, when running docker build on the same dockerfile on a Win10-1709 machine and Server2016-LTS that uses Microsoft/dotnet-framework:lastest as its base, the resulting images have different base layers.

    I was assuming that both would build with the LTS version as the base, is there some magic that picks different base layers based on the OS used to build the container image?

    Thanks!

  • User profile image
    shboyer

    @PerfectPhase:The only thing I can say is if your Windows 10 machine is targeting Linux containers and the Server2016 machine is targeting Windows containers; this would result in different layers.  Check your docker configuration on the Win10 machine.

Add Your 2 Cents