Docker — conteneurs et commandes
run, ps, logs, stop, exec, cycle de vie, conteneur vs VM. Support : Docker101.
About this quiz
Think the world of Technology holds no secrets for you? Prove it: "Docker — conteneurs et commandes" lines up 16 questions at a difficulty of 3 out of 10. Enough to warm up the brain before the difficulty climbs.
On SparkleQuiz, every game counts: play this quiz solo and aim for a perfect run, or open a private room and challenge your friends in real time. Correct answers earn XP and keep your streak alive.
The “Technology” theme on SparkleQuiz
Who founded Apple in a garage? Read the full introduction to the Technology theme.
Worth knowing from this quiz
-a affiche aussi les conteneurs stoppés, -q ne renvoie que les ID (pratique dans un script : docker rm $(docker ps -aq)), -l le dernier lancé (attention sur une machine partagée).
Le SIGTERM laisse à l'application le temps de s'arrêter proprement. Si elle ne l'a pas fait au bout de 10 secondes, Docker envoie SIGKILL. Le conteneur n'est pas supprimé.
Quand le processus PID 1 se termine, Docker considère le conteneur comme arrêté. C'est pour ça qu'un conteneur dont la commande se termine tout de suite s'arrête tout de suite.
Sample questions
A taste of the quiz, with a few questions picked from it. The options are shuffled and unmarked: the right answer shows up when you play.
- systemd et cron
- LXC et les cgroups
- Hyper-V et VirtualBox
- SELinux uniquement
- Le « ça fonctionne sur ma machine »
- Le besoin de machines virtuelles
- Le manque de tests unitaires
- La lenteur des bases de données
- Elle lance le conteneur en arrière-plan
- Elle alloue un pseudo-terminal (TTY)
- Elle donne un tag à l'image
- Elle connecte le stdin du terminal
- Elle télécharge l'image sans la lancer
- Elle supprime le conteneur à l'arrêt
- Elle active le mode debug
- Elle lance le conteneur en arrière-plan et rend la main
- Vrai
- Faux
Ready to play?
Start the quiz and put your knowledge to the test. Earn XP, unlock badges, and climb the leaderboard.
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.