Category: Docker

  • TILT- Docker with Ductus.FluentDocker–part 23

    I have already tests with Sqlite – however,it will be better to try tests with a real SqlServer . One of the way to have a sql server is to have docker – but how to start docker with sql server any time ? One of answers is Ductus.FluentDocker – https://www.nuget.org/packages/Ductus.FluentDocker – and this is…

  • GitHub Actions and docker for writing a book

    I am trying to wrote a book  ( with Daniel Tila ) about what are the challenges to transfer an application from console to SAAS. We have decided to put the code on GitHub – and,because of this,the text will be still on GitHub .Each chapter will be in the form of the readme.md file…

  • .NET Core 3.0 to .NET Core 3.1 and .NET Core SSL (https )with VSCode + Docker –part 44

    To pass from .NET Core 3.0 to .NET Core 3.1 Modify the .csproj Modify the devops Modify the GitHub Actions Modify the Azure Devops ( because was on Docker,just modify the docker FROM sdk Modify the dockerfile in the  .devcontainer folder to run in VSCode Container Some of the modifications here : https://github.com/ignatandrei/InfoValutar/commit/2d5b138ccd6225a6bf69dca47fe76e2270920d2d However,to have…

  • Configure Angular Environment(local and remote) and CORS for .NET Core – part 43

    I want to be capable to run Angular with data obtained from local .NET project in development – and from remote website in production. One of the techniques is detailed here https://angular.io/guide/build Generated service : ng g s banks Now I want to see that every modification of the Bankservice will re-compile. Tried in Docker…

  • Docker environment for Angular–part 42

    Trying the alpine container from https://github.com/microsoft/vscode-dev-containers/tree/master/containers . It does not work – the error was that it cannot mount the binding folder . I figure that it was a Docker issue,https://blogs.msdn.microsoft.com/stevelasker/2016/06/14/configuring-docker-for-windows-volumes/ . Then I had a problem with “ tarball data for @angular/compiler@8.2.14 seems to be corrupted” – delete package.json for this. This is the…

  • Debug Application under VSCode and Docker–part 22

    What I wanted is that people that have only a container application ( docker) and  VSCode ( not Visual Studio,nor .NET Core Framework) be able to debug the application and run it. That means,I no longer require to install .NET Core SDK on the local PC Read a lot https://code.visualstudio.com/docs/remote/containers#_devcontainerjson-reference https://github.com/microsoft/vscode-dev-containers/tree/master/containers/dotnetcore-3.0 https://code.visualstudio.com/docs/remote/containers Some important things…

  • Making visible the application -part 21

    Trying to make visible the docker with https://labs.play-with-docker.com/?stack=https://raw.githubusercontent.com/ignatandrei/InfoValutar/master/PlayWithDocker/WebAPI.yml leaving an issue: https://github.com/play-with-docker/play-with-docker/issues/370   Decided  to add to the readme the docker . Going to Shields.io . Putting some lines for beginners with docker. Reading more about port –binding . Figuring this is is: ENV ASPNETCORE_URLS=http://*:8080 #ENV ASPNETCORE_URLS=http://0.0.0.0:8080 And that was all !

  • Docker–fourth part–part 20

    Time to push to docker 1. putting the docker password into the pipeline variables 2. Modifying the yaml 3. Waiting for build Error in Docker:  Incorrect name or password Now,I want to create 2 jobs to isolate Docker from the main build. I encounter some errors in the yaml file . That shows fast in…

  • Docker–third part–part 19

    Trying different  codes in the csproj to add dynamically content from a folder ( including the dll’s copied there ) and to retrieve in the output directory: ( reading from internet of all those stuff) Version 1: <!–<Target Name=”ContentsBeforeBuild” AfterTargets=”BeforeBuild”> <ItemGroup> <Content Include=”plugins\**” /> </ItemGroup> </Target>—> Version 2: <!–<Content Update=”plugins\**\*.dll” CopyToOutputDirectory=”Always” LinkBase=”plugins”> </Content>—> Version 3:…

  • Docker–second part–part 18

    Now,I must replace all with powershell files. Some problem  – if I build twice,it says : resource already exists. So I need to add –Force parameter. Now pushing to GitHub https://github.com/ignatandrei/InfoValutar/commit/2c487963da53f04f94a0a7b060999f8e27635179 and see if it works. No,error on .sln build. ObjectNotFound: (/home/runner/work/I\u2026nfoValutar/plugins” Apparently,it is a Unicode character ? Try to save as ASCII file. Waiting…