Running Containers in Azure Flashcards

1
Q

Running containers in Azure

A

allows you to package your programs binaries, libraries and other components
container image -binary application package
container-running container image
-one app inside the container
-generally very small and very
portable
Container registries -enables exchanging of container images

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

working with containers in azure

A

FROM
RUN mkdir /app
WORKDIR /app
COPY
COPY ./config.sh ./

RUN bash config.sh

EXPOSE 80
ENTRYPOINT [“dotnet”, “webapp.dll”]

docker build -t webappimage:v1 .

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Azure container registry

A

build, store and manage container images
key component of building a CI/CD pipeline
ACR tasks for container image automation
Service tiers(basic,standar and premium)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

ACR authentication and security options

A

Requires authentication for operations
Azure active directory identities
-users
-service principals
ACR admin
Orchestrators, tools and applications should use ‘headless’ authentication
az acr login OR docker login
Role based access controls

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

ACR Role based authentication

A

owner, contributor,reader
acrPush,AcrPull, acrDelete

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Creating and authenticating to azure container registry

A

ACR_NAME =’psdemoacr’
az

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

deploying containers in azure container instances

A

serverless container platform
access application via the internet on an Azure virtual network
Windows and Linux containers
resource requests for CPU and memory
Use Azure files for persistent storage
deployed in groups
restart policy => always, on failure, and never

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Deploying containers in ACI from container registries

A

Azure container registry
Docker hub or other container registries

How well did you know this?
1
Not at all
2
3
4
5
Perfectly