- All the pre-requisites from Part 1 related to Docker Hands on Lab
- Docker-compose Verify that docker-compose is succesfully installed by running the following command in your favourite terminal
docker-compose version| Update-ExecutionPolicy Unrestricted | |
| Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions | |
| cinst Microsoft-Hyper-V-All -source windowsFeatures | |
| cinst Microsoft-Windows-Subsystem-Linux -source windowsFeatures | |
| # Enable Windows Controlled Folder Access | |
| Set-MpPreference -EnableControlledFolderAccess Enabled | |
| cinst -y 7zip.install --cacheLocation "$env:userprofile\AppData\Local\Temp\chocolatey" |
docker-compose version| apiVersion: apps/v1beta1 | |
| kind: Deployment | |
| metadata: | |
| name: techtalksapi | |
| namespace: abc2018sg | |
| labels: | |
| run: techtalksapi | |
| spec: |
For the first part of the Docker hands on session, following software will be required
| --- | |
| apiVersion: v1 | |
| kind: Namespace | |
| metadata: | |
| name: abc2018sg |
| { | |
| "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
| "contentVersion": "1.0.0.0", | |
| "parameters": { | |
| "agentCount": { | |
| "allowedValues": [ | |
| 1, | |
| 2, | |
| 3, | |
| 4, |
| <Project Sdk="Microsoft.NET.Sdk.Web"> | |
| <PropertyGroup> | |
| <!-- <TargetFramework>netcoreapp2.0</TargetFramework> --> | |
| <TargetFramework>netcoreapp2.1</TargetFramework> | |
| <RuntimeFrameworkVersion>2.1.0-preview1-25919-02</RuntimeFrameworkVersion> | |
| </PropertyGroup> | |
| <PropertyGroup> | |
| <PublishWithAspNetCoreTargetManifest>false</PublishWithAspNetCoreTargetManifest> |