Coder Social home page Coder Social logo

microsoft / dotnet-framework-docker-samples Goto Github PK

View Code? Open in Web Editor NEW
171.0 146.0 124.0 491 KB

The .NET Framework Docker samples have moved to https://github.com/Microsoft/dotnet-framework-docker

License: MIT License

C# 11.14% ASP 1.73% CSS 0.30% JavaScript 86.83%

dotnet-framework-docker-samples's Introduction

dotnet-framework-docker-samples's People

Contributors

kendrahavens avatar michaelsimons avatar richlander avatar zhenlan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dotnet-framework-docker-samples's Issues

.NET Framework Docker Samples have moved

.NET Framework Docker Samples have moved

The .NET Framework Docker samples have moved to the samples folder of Microsoft/dotnet-framework-docker.

Details

The .NET Framework Docker samples have been enhanced and moved to the samples folder of Microsoft/dotnet-framework-docker.

The samples show various ways to use the .NET Framework and Docker together. You can use the samples as the basis of your own Docker images or just to play.

The samples exercise various levels of functionality. The .NET Framework Docker sample includes the most functionality, including build, unit testing, and pushing images to a container registry. The ASP.NET Docker sample includes instructions for testing images with Azure Container Instances. The samples include detailed instructions for use with and without Docker.

I'm getting image not found locally

ran the 'docker build -t app-app .' command
no errors:

PS E:\Development\docker\dotnet-framework-docker-samples\dotnetapp-4.6.2> docker build -t my-app .
Sending build context to Docker daemon 214 kB
Step 1/4 : FROM microsoft/dotnet-framework:4.6.2
4.6.2: Pulling from microsoft/dotnet-framework
3889bb8d808b: Pulling fs layer
423d66441981: Downloading
unknown blob

then docker run my-app returns

Unable to find image 'my-app:latest' locally

CMD to add Git in building container

I would like to see if we can use CMD to install Git to our own image ?

For example :

WORKDIR /app
CMD '.\Git-2.10.2-64-bit.exe /silent /suppressmsgboxes /dir="c:\git64" /log="git64.log"' ?

Or we can add the Git exe to the container and run
the silent installation after starting the container ?

Thanks

Ken

getting the error dotnet is not recognized

Getting the following error when i do >docker build -t my-dotnet462-app .

Sending build context to Docker daemon 873.5kB
Step 1/8 : FROM microsoft/dotnet-framework:4.6.2
---> 6a26127feff4
Step 2/8 : WORKDIR /app
---> Using cache
---> e670ba63085d
Step 3/8 : COPY *.csproj ./
---> Using cache
---> 9172c87fac16
Step 4/8 : RUN dotnet restore
---> Running in c8f7abfff5c1
'dotnet' is not recognized as an internal or external command,
operable program or batch file.
The command 'cmd /S /C dotnet restore' returned a non-zero code: 1

'dotnet' is not recognized as an internal or external command,
operable program or batch file.

Merge DockerHub branch into Master

The samples that are pushed to Docker Hub should be built from the main samples in the master branch. This will help ensure the samples pushed to Docker Hub are same samples shown in master. Right now the samples in master are not using multi-stage Dockerfiles whereas the samples in the dockerhub branch are.

Consider merging the microsoft/dotnet-framework-docker-samples GitHub repo into the microsoft/dotnet-framework-docker GitHub repo

The primary motivation behind this change is visibility. The belief is that having all assets related to the microsoft/dotnet-framework Docker repo within one GitHub repo will help increase the visibility of everything. If a user navigates to from microsoft/dotnet-framework to the microsoft/dotnet-framework-docker GitHub repo to view the Dockerfiles, there is a higher chance they will see the samples if there are within the same repo. Having the samples in the same GitHub repo as the Dockerfiles will also help increase the visibility of incoming issues and PRs related to the samples.

The samples do cover usage scenarios beyond microsoft/dotnet-framework. For example the samples cover aspnet and wcf. This could be viewed as a positive as ASP.NET and WCF are based on the full .NET FX images. Seeing the ASP.NET and WCF samples could help bring visibility to the fact that the those images exist and are based on the .NET FX images.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.