Docker – How to copy a file from Host to Docker container and vice versa

By | 13/07/2022

In this post, we will see how to copy a file from our system to a Docker container and vice versa. We start defining and running this docker-compose file to create a SQL Server Docker container: [DOCKER-COMPOSE.YML] Then, using a PowerShell console, we check everything works fine: FROM HOST TO THE CONTAINERFirst of all, we… Read More: Docker – How to copy a file from Host to… »

C# – AutoMapper

By | 29/06/2022

In this post, we will see how to configure and use AutoMapper in a Web API project.But first of all, what is AutoMapper?From official web site:“AutoMapper is an object-object mapper. Object-object mapping works by transforming an input object of one type into an output object of a different type. What makes AutoMapper interesting is that… Read More: C# – AutoMapper »

Category: C#

Docker – Commands

By | 08/06/2022

In this post, we will see some Docker commands that they can help us in our Docker projects. DOWNLOAD A DOCKER IMAGE docker pull ‘name of image’ LIST DOCKER IMAGES REMOVE DOCKER IMAGE docker rmi ‘image id’ REMOVE ALL DOCKER IMAGES RUN DOCKER CONTAINER docker run ‘name of image’ START AND STOP A DOCKER CONTAINER… Read More: Docker – Commands »