Académique Documents
Professionnel Documents
Culture Documents
Connecting terminal...
Type "az" to use Azure CLIType "help" to learn about Cloud Shell
"id": "/subscriptions/772e6e9f-4cf7-42bc-89c4-f32976396fd7/resourceGroups/testContainerRG",
"location": "southeastasia",
"managedBy": null,
"name": "testContainerRG",
"properties": {
"provisioningState": "Succeeded"
},
"tags": null,
"type": "Microsoft.Resources/resourceGroups"
"containers": [
"command": null,
"environmentVariables": [
"name": "ACCEPT_EULA",
"secureValue": null,
"value": "Y"
},
"name": "MSSQL_SA_PASSWORD",
"secureValue": null,
"value": "iba@12345"
},
"name": "MSSQL_PID",
"secureValue": null,
"value": "Developer"
},
"name": "MSSQL_COLLATION",
"secureValue": null,
"value": "Latin1_General_CI_AS"
},
{
"name": "MSSQL_ENABLE_HADR",
"secureValue": null,
"value": "Y"
],
"image": "microsoft/mssql-server-linux",
"instanceView": {
"currentState": {
"detailStatus": "",
"exitCode": null,
"finishTime": null,
"startTime": "2019-10-19T07:20:53+00:00",
"state": "Running"
},
"events": [
"count": 1,
"firstTimestamp": "2019-10-19T07:19:35+00:00",
"lastTimestamp": "2019-10-19T07:19:35+00:00",
"name": "Pulling",
"type": "Normal"
},
"count": 1,
"firstTimestamp": "2019-10-19T07:20:47+00:00",
"lastTimestamp": "2019-10-19T07:20:47+00:00",
"name": "Pulled",
"type": "Normal"
},
"count": 1,
"firstTimestamp": "2019-10-19T07:20:52+00:00",
"lastTimestamp": "2019-10-19T07:20:52+00:00",
"name": "Created",
"type": "Normal"
},
"count": 1,
"firstTimestamp": "2019-10-19T07:20:53+00:00",
"lastTimestamp": "2019-10-19T07:20:53+00:00",
"name": "Started",
"type": "Normal"
],
"previousState": null,
"restartCount": 0
},
"livenessProbe": null,
"name": "mssql-container-group",
"ports": [
"port": 1433,
"protocol": "TCP"
}
],
"readinessProbe": null,
"resources": {
"limits": null,
"requests": {
"cpu": 1.0,
"gpu": null,
"memoryInGb": 3.5
},
"volumeMounts": null
],
"diagnostics": null,
"dnsConfig": null,
"id": "/subscriptions/772e6e9f-4cf7-42bc-89c4-
f32976396fd7/resourceGroups/testContainerRG/providers/Microsoft.ContainerInstance/containerGrou
ps/mssql-container-group",
"identity": null,
"imageRegistryCredentials": null,
"instanceView": {
"events": [],
"state": "Running"
},
"ipAddress": {
"dnsNameLabel": null,
"fqdn": null,
"ip": "40.90.187.107",
"ports": [
{
"port": 1433,
"protocol": "TCP"
],
"type": "Public"
},
"location": "southeastasia",
"name": "mssql-container-group",
"networkProfile": null,
"osType": "Linux",
"provisioningState": "Succeeded",
"resourceGroup": "testContainerRG",
"restartPolicy": "Always",
"tags": {},
"type": "Microsoft.ContainerInstance/containerGroups",
"volumes": null
}
fahad@Azure:~$ az container create -g testContainerRG --name nginx --image library/nginx --ip-address
public
"containers": [
"command": null,
"environmentVariables": [],
"image": "library/nginx",
"instanceView": {
"currentState": {
"detailStatus": "",
"exitCode": null,
"finishTime": null,
"startTime": "2019-10-19T07:22:47+00:00",
"state": "Running"
},
"events": [
"count": 1,
"firstTimestamp": "2019-10-19T07:22:33+00:00",
"lastTimestamp": "2019-10-19T07:22:33+00:00",
"name": "Pulling",
"type": "Normal"
},
"count": 1,
"firstTimestamp": "2019-10-19T07:22:45+00:00",
"lastTimestamp": "2019-10-19T07:22:45+00:00",
"name": "Pulled",
"type": "Normal"
},
"count": 1,
"firstTimestamp": "2019-10-19T07:22:47+00:00",
"lastTimestamp": "2019-10-19T07:22:47+00:00",
"name": "Created",
"type": "Normal"
},
"count": 1,
"firstTimestamp": "2019-10-19T07:22:47+00:00",
"lastTimestamp": "2019-10-19T07:22:47+00:00",
"message": "Started container",
"name": "Started",
"type": "Normal"
],
"previousState": null,
"restartCount": 0
},
"livenessProbe": null,
"name": "nginx",
"ports": [
"port": 80,
"protocol": "TCP"
],
"readinessProbe": null,
"resources": {
"limits": null,
"requests": {
"cpu": 1.0,
"gpu": null,
"memoryInGb": 1.5
},
"volumeMounts": null
],
"diagnostics": null,
"dnsConfig": null,
"id": "/subscriptions/772e6e9f-4cf7-42bc-89c4-
f32976396fd7/resourceGroups/testContainerRG/providers/Microsoft.ContainerInstance/containerGrou
ps/nginx",
"identity": null,
"imageRegistryCredentials": null,
"instanceView": {
"events": [],
"state": "Running"
},
"ipAddress": {
"dnsNameLabel": null,
"fqdn": null,
"ip": "52.230.59.2",
"ports": [
"port": 80,
"protocol": "TCP"
],
"type": "Public"
},
"location": "southeastasia",
"name": "nginx",
"networkProfile": null,
"osType": "Linux",
"provisioningState": "Succeeded",
"resourceGroup": "testContainerRG",
"restartPolicy": "Always",
"tags": {},
"type": "Microsoft.ContainerInstance/containerGroups",
"volumes": null