azure-container-instances

Copy file to Docker volume in Azure context

无人久伴 提交于 2020-12-15 02:07:01
问题 I run these docker commands locally to copy a file to a volume, this works fine: docker container create --name temp_container -v temp_vol:/target hello-world docker cp somefile.txt temp_container:/target/. Now I want to do the same, but with volumes located in Azure. I have an image azureimage that I pushed and it's located in Azure, and I need to access from the container a volume with a file that I have in my local disk. I can create the volume in an Azure context like so: docker context

Copy file to Docker volume in Azure context

喜欢而已 提交于 2020-12-15 02:00:33
问题 I run these docker commands locally to copy a file to a volume, this works fine: docker container create --name temp_container -v temp_vol:/target hello-world docker cp somefile.txt temp_container:/target/. Now I want to do the same, but with volumes located in Azure. I have an image azureimage that I pushed and it's located in Azure, and I need to access from the container a volume with a file that I have in my local disk. I can create the volume in an Azure context like so: docker context

How to add SSL to Azure Container Instance App?

只谈情不闲聊 提交于 2020-08-24 09:11:12
问题 As the title says, I need to setup SSL for an app hosted in Azure Container Instances, however, I'm not quite sure where I need to start. I have a containerized app hosted via Azure Container Instances at the address http://myApp.northamerica.azurecontainer.io . This address is masked by the 'official' address at http://api.myApp.com . Is there any reason why I can't just add SSL to the superficial domain @ http://api.myApp.com , that redirects to the real domain @ http://myApp.northamerica

Azure container instances with VNET creation error

若如初见. 提交于 2020-06-16 17:26:08
问题 I am attempting to create a Container Instances as a private network attached to an existing VNET and subnet. I managed to get this running yesterday, but doing updates or refreshing the image was painfully slow. I am consuming a private image on dockerhub. Now when I attempt to create an ACI with the same VNET, subnet and image I get the error: The requested resource is not available in the location 'westeurope' at this moment. Please retry with a different resource request or in another

Azure container instances with VNET creation error

独自空忆成欢 提交于 2020-06-16 17:25:08
问题 I am attempting to create a Container Instances as a private network attached to an existing VNET and subnet. I managed to get this running yesterday, but doing updates or refreshing the image was painfully slow. I am consuming a private image on dockerhub. Now when I attempt to create an ACI with the same VNET, subnet and image I get the error: The requested resource is not available in the location 'westeurope' at this moment. Please retry with a different resource request or in another

Azure container instances (ACI) deployment to virtual network fails (region: westeurope)

守給你的承諾、 提交于 2020-06-16 17:24:20
问题 my ACI deployment to a virtual network (target subnet is delegated to container instances) stopped working over the week-end with a strange error message: "The requested resource is not available in the location 'westeurope' at this moment. Please retry with a different resource request or in another location. Resource requested: '1' CPU '1.5' GB memory 'Linux' OS virtual network" Here is the deployment script: az container create --resource-group $(resourceGroupName) --name $(containerName)

Is there built-in support for enabling SSL on Azure Container Instances?

喜欢而已 提交于 2020-06-10 02:55:06
问题 Is there built-in support for enabling SSL on Azure Container Instances? If not, can we hook up to SSL providers like Lets Encrypt? 回答1: There is nothing built-in today. You need to load the certs into the container and terminate SSL there. Soon, we will enable support for ACI containers to join an Azure virtual network, at which point you could front your containers with Azure Application Gateway and terminate SSL there. 回答2: As said above, no support today for built-in SSL when using ACI. I

Unable to mount azure file shares as mongodb volume in azure container instances

放肆的年华 提交于 2020-05-13 14:24:09
问题 I am trying to set up a mongo DB instance using azure container instances and mounting the same on Azure file share. We are getting the following error: [initandlisten] WiredTiger error (1) [1579245437:724939][1:0x7f9419c67b00], connection: __posix_open_file, 667: /data/db/WiredTiger.wt: handle-open: open: Operation not permitted Raw: [1579245437:724939][1:0x7f9419c67b00], connection: __posix_open_file, 667: /data/db/WiredTiger.wt: handle-open: open: Operation not permitted W STORAGE

Running commands in azure container instance after container running

╄→гoц情女王★ 提交于 2020-04-30 06:25:27
问题 I am having code-server container running and I am running az container exec --resource-group resourcename --name code-server --exec-command "ls" it is giving list of files and folder but if we run az container exec --resource-group resourcename --name code-server --exec-command "cd folder" not working showing error like rpc error: code = 2 desc = oci runtime error: exec failed: container_linux.go:247: starting container process caused "exec: \"cd Angular\": executable file not found in $PATH