podman compose Flashcards

1
Q

podman compose yaml

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

execute a Compose file

A

podman-compose up

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

list networks that are defined in the Compose file

A

podman network ls

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

stops running containers that are defined as services

A

podman-compose stop

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

stop and remove containers that are defined as services

A

podman-compose down

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

what happens if the networks keyword is not defined in the Podman Compose file

A

Podman Compose creates a default network that has DNS enabled

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

Compose file with mounted volume

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

Compose file with mounted volume. Volume created outside of docker compose

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

Compose file with bind mount

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

install podman compose

A

pip3 install podman-compose

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

Build contaier file with argument

A

–build-arg key=example-value

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

Declare env with defaut value

A

ENV BIN_DIR=${BIN_DIR:-/usr/local/bin/}

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