Category "docker-build"

How to run "dotnet publish" with the runtime flag in a multi arch Dockerfile?

I have a set of ASP.NET Core 6.0 services hosted on AWS ECS Fargate. Currently they are running on x64 but I want to experiment using the ARM architecture. Also

Error: Failed to solve with frontend dockerfile.v0: failed to create LLB definition: no match for platform in manifest when building docker image

I get the error: failed to solve with frontend dockerfile.v0: failed to create LLB definition: no match for platform in manifest when building the following Do

Docker build failing- The remote name could not be resolved: 'api.nuget.org'

I am following a pluralsight tutorial- "Developing .NET Framework Apps with Docker" but dockerfile given in one of the demo failing for me. Here is the dockerfi

How to remove intermediate images from a build after the build?

When you build your multi-stage Dockerfile with docker build -t myimage . it produces the final image tagged myimage, and also intermediate images. To be com

Using ARG and ENV in Dockerfile

I am learning how to use ARG and ENV in Dockerfiles. I have this simple Dockerfile: ARG my_arg ARG other_arg=other_default FROM centos:7 ENV MY_ENV $my_arg E