Docker — volumes, réseaux et Compose
Persistance, publication de ports, réseaux bridge/host/none, docker-compose. Support : Docker101.
About this quiz
"Docker — volumes, réseaux et Compose" explores Technology through 18 carefully written questions. The difficulty sits at 4 out of 10. A few trickier questions slip in along the way.
Like every SparkleQuiz quiz, this one is free and needs no install: play a solo run to progress at your own pace, or open a room with friends and race for the win live. XP, badges and leaderboards reward your correct answers.
The “Technology” theme on SparkleQuiz
Who founded Apple in a garage? Read the full introduction to the Technology theme.
Worth knowing from this quiz
Un seul service par port de l'hôte. Par contre, les deux conteneurs peuvent écouter sur 80 à l'intérieur : -p 80:80 et -p 8081:80.
Le localhost d'un conteneur n'est pas celui de ton PC ni celui d'un autre conteneur. Dans un réseau commun, on utilise le nom du conteneur ou du service (db:5432).
Trois réseaux par défaut. Les conteneurs vont dans bridge si on ne précise rien. overlay existe mais sert à relier plusieurs hôtes (Swarm).
Sample questions
A handful of questions pulled from the quiz, so you can gauge its tone and level. Nothing is flagged here, you will have to start a game.
- Faux
- Vrai
- Un tmpfs
- Une layer d'image
- Un volume nommé
- Un bind mount (dossier de l'hôte)
- Ce n'est pas obligatoire
- Parce que Docker ne gère pas les chemins Windows
- Pour des raisons de sécurité SELinux
- Le daemon ne connaît pas le dossier courant du client
- Vrai
- Faux
- Le port 80 de l'hôte redirige vers 8080
- Le conteneur écoute sur 8080 et 80
- Le port 8080 de l'hôte redirige vers le port 80 du conteneur
- Le conteneur peut utiliser les ports 80 à 8080
Ready to play?
Your turn. Run through the questions, aim for a perfect score and see how you compare to other players.
Play nowSimilar quizzes
The Smartphone in Everyday Life
Apps, sensors and handy settings: what you do every day with your phone.
Computer Basics
Keyboard, mouse, desktop and recycle bin: the basics of using a computer.
Browsing the Internet
Browsers, bookmarks, downloads and Wi-Fi: the everyday basics of the Web.