Week 1 Flashcards

(10 cards)

1
Q

Docker CE x EE?

A

Community Edition vs Enterprise Edition

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

Does docker run nativelly on Mac?

A

Docker doesnt run nativelly on Mac or Windows, docker has to create a small linux VM inside docker

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

Compare IMAGE vs. CONTAINER

A
  • Image is the application we want to run

- Container is the instance of that image (You can have many containers of the same image)

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

compare DOCKER CONTAINER RUN vs. DOCKER CONTAINER START

A
  • Run always create a new container for the image

- Start starts an existing one

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

how to stop containers

A
  • docker stop [container_id] or docker container stop [container_id]
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

how to open a port to the host?

A

–publish , -p

Publish a container’s port(s) to the host

example: docker container run –publish 80:80 nginx

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

access bash of a container

A

docker container run -it nginx bash start new container interactively
docker container exec -it nginx bash run additional command in existing container

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

mysql default port

A

3306

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

What are orsay and tizen operating system?

A

on Samsung TV

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

ensembles

A

conjuntos, grupo (normalmente relacionado a musica)

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