Microsoft provide a framework for building container images in Azure called ACR, which can be called using the Azure CLI:…
Docker
How to create MSSQL Image With Custom DBs Attached (using BAK files)
The following Dockerfile can be used to create the custom image, using a local context. Note: This uses the MSSQL…
How to create an MSSQL Server Base Image
Microsoft have removed support for ‘Windows’ based images of MS SQL server. Opting only to support Linux versions. Because of…
Building Docker Images: Using ACR Build Command
This approach uses the Azure CLI to push your Docker file and context to the cloud. Then build it, tag…
Docker Compose: Basic Example
The docker-compose file below defines one single service called CM. It states which image to use, which PowerShell script to…
Building Docker Images: Using ACR Tasks
With this approach, we create a ACR Task (using Azure CLI), for which we pass parameters detailing: This is then…
Dockerfiles: Multi Stage Example
This Dockerfile will create a slimmed down image containing only the assets that are generated from building and publishing the…
Dockerfiles: Basic Example
A very basic example of a Dockerfile might look something like this: Line by line, it does the following: If…
Dockerfiles
A Dockerfile is a text document that contains all the commands a user could call on the command line to assemble an…
Building Docker Images: With Docker Compose Files
The docker compose file below has additional properties defined that instruct the Docker Daemon how to build an image if…
Building Docker Images: Docker Build Command
The docker build command builds Docker images from a Dockerfile and a “context”. A build’s context is the set of files located…