skip to Main Content

Docker multistage build doesn't pass arguments to second stage

I have dockerbuild file that contains from 2 stages ARG DOTNET_VERSION=net48 ARG CONFIGURATION=Release FROM mcr.microsoft.com/dotnet/framework/sdk:4.8 AS build-env ARG DOTNET_VERSION ARG CONFIGURATION RUN echo .Net version: $env:DOTNET_VERSION FROM mcr.microsoft.com/windows/nanoserver:1809 ARG DOTNET_VERSION RUN echo .Net version: $env:DOTNET_VERSION I start it using next…

VIEW QUESTION

Error when using `docker run` with volume

I'm really inexperienced with this. I'm a programmer, not a sysadmin. I'm trying to run a windows docker container on a windows host using this command: docker run --name DevSQLCont -p 1433:1433 -e accept_eula=y -e sa_password=Super5ecret! tobiasfenster/mssql-server-dev-unsupported:2019-cu14 -v sqlvolume:c:sqlvolume resulting…

VIEW QUESTION
Back To Top
Search