{"id":4825,"date":"2023-01-03T21:55:02","date_gmt":"2023-01-03T21:55:02","guid":{"rendered":"https:\/\/netguide.io\/linux\/?p=4825"},"modified":"2026-08-10T15:49:03","modified_gmt":"2026-08-10T15:49:03","slug":"was-ist-docker","status":"publish","type":"post","link":"https:\/\/netguide.io\/linux\/de\/was-ist-docker\/","title":{"rendered":"Was ist Docker? Container einfach erkl\u00e4rt"},"content":{"rendered":"<script type=\"text\/plain\" data-tcf=\"waiting-for-consent\" data-id=\"4797\" data-bid=\"2\" data-placement=\"4798\">PGRpdiBpZD0ibmV0Z3VpZGVhLTIwNjQ5ODQ0NjgiIGNsYXNzPSJuZXRndWlkZWEtYmVmb3JlLWNvbnRlbnQgbmV0Z3VpZGVhLWVudGl0eS1wbGFjZW1lbnQiPjxkaXYgY2xhc3M9Im5ldGd1aWRlYS1hZGxhYmVsIj5BZHZlcnRpc2VtZW50czwvZGl2PjxzY3JpcHQgYXN5bmMgc3JjPSIvL3BhZ2VhZDIuZ29vZ2xlc3luZGljYXRpb24uY29tL3BhZ2VhZC9qcy9hZHNieWdvb2dsZS5qcz9jbGllbnQ9Y2EtcHViLTYyNTg1NTYyNTcyNDU5OTgiIGNyb3Nzb3JpZ2luPSJhbm9ueW1vdXMiPjwvc2NyaXB0PjxpbnMgY2xhc3M9ImFkc2J5Z29vZ2xlIiBzdHlsZT0iZGlzcGxheTpibG9jazsiIGRhdGEtYWQtY2xpZW50PSJjYS1wdWItNjI1ODU1NjI1NzI0NTk5OCIgCmRhdGEtYWQtc2xvdD0iMzQ5NDExNTM0MiIgCmRhdGEtYWQtZm9ybWF0PSJhdXRvIj48L2lucz4KPHNjcmlwdD4gCihhZHNieWdvb2dsZSA9IHdpbmRvdy5hZHNieWdvb2dsZSB8fCBbXSkucHVzaCh7fSk7IAo8L3NjcmlwdD4KPC9kaXY+<\/script>\n<p class=\"wp-block-paragraph\"><strong>Docker<\/strong> verpackt eine Anwendung samt allen Abh\u00e4ngigkeiten in einen isolierten, leichtgewichtigen <strong>Container<\/strong>. Dieser l\u00e4uft auf jedem System gleich \u2013 egal ob auf deinem Laptop, einem Homeserver oder in der Cloud. In diesem Guide erf\u00e4hrst du, <strong>was Docker ist<\/strong>, wie sich Container von virtuellen Maschinen unterscheiden, welche Begriffe du kennen solltest und mit welchen Befehlen du startest.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Was ist Docker \u2013 kurz erkl\u00e4rt<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Docker ist eine Plattform, um Anwendungen in <strong>Containern<\/strong> zu entwickeln, auszuliefern und zu betreiben. Ein Container b\u00fcndelt Code, Laufzeitumgebung, Bibliotheken und Konfiguration in einer Einheit. Weil er isoliert l\u00e4uft, kannst du viele Container gleichzeitig auf einem Host betreiben, ohne dass sie sich gegenseitig st\u00f6ren \u2013 und ohne dich darauf verlassen zu m\u00fcssen, was auf dem Host installiert ist.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Container vs. virtuelle Maschine<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Der wichtigste Unterschied: Eine VM virtualisiert eine komplette Hardware inklusive eigenem Betriebssystem, ein Container teilt sich den Kernel des Hosts und ist dadurch deutlich schlanker.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Merkmal<\/th><th>Container (Docker)<\/th><th>Virtuelle Maschine<\/th><\/tr><\/thead><tbody><tr><td>Gr\u00f6\u00dfe<\/td><td>MB<\/td><td>GB<\/td><\/tr><tr><td>Startzeit<\/td><td>Sekunden<\/td><td>Minuten<\/td><\/tr><tr><td>Betriebssystem<\/td><td>teilt Host-Kernel<\/td><td>eigenes OS je VM<\/td><\/tr><tr><td>Overhead<\/td><td>gering<\/td><td>h\u00f6her<\/td><\/tr><tr><td>Isolierung<\/td><td>Prozessebene<\/td><td>vollst\u00e4ndig (Hardware)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Die wichtigsten Docker-Begriffe<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Image:<\/strong> Die unver\u00e4nderliche Vorlage (Bauplan) f\u00fcr einen Container \u2013 z.&nbsp;B. <code>nginx:latest<\/code>.<\/li><li><strong>Container:<\/strong> Eine laufende Instanz eines Images.<\/li><li><strong>Registry \/ Docker Hub:<\/strong> Der Speicherort, aus dem Images geladen (<code>pull<\/code>) und in den sie hochgeladen (<code>push<\/code>) werden.<\/li><li><strong>Dockerfile:<\/strong> Ein Rezept, aus dem ein eigenes Image gebaut wird.<\/li><li><strong>Volume:<\/strong> Persistenter Speicher, damit Daten einen Neustart des Containers \u00fcberleben.<\/li><li><strong>Netzwerk:<\/strong> Verbindet Container untereinander und mit der Au\u00dfenwelt.<\/li><li><strong>Docker Compose:<\/strong> Definiert mehrere Container deklarativ in einer <code>docker-compose.yml<\/code>.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Warum Docker? Die Vorteile<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Konsistenz:<\/strong> \u201eL\u00e4uft bei mir&#8221; wird zu \u201el\u00e4uft \u00fcberall&#8221; \u2013 identische Umgebung auf jedem Host.<\/li><li><strong>Schnelligkeit:<\/strong> Container starten in Sekunden statt Minuten.<\/li><li><strong>Effizienz:<\/strong> Viele Dienste auf einem Server, ohne den Overhead vieler VMs.<\/li><li><strong>Portabilit\u00e4t:<\/strong> Vom Laptop \u00fcber den Homeserver bis in die Cloud \u2013 ohne Anpassungen.<\/li><li><strong>Sauberkeit:<\/strong> Software testen und wieder entfernen, ohne den Host zuzum\u00fcllen.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Erste Schritte: die wichtigsten Docker-Befehle<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Nach der Installation testest du Docker am schnellsten mit dem <code>hello-world<\/code>-Image:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#24292e\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#e1e4e8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>curl -sfL https:\/\/get.k3s.io | INSTALL_K3S_EXEC=\"--disable traefik --disable servicelb\" K3S_KUBECONFIG_MODE=\"644\" sh -s -\n<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #E1E4E8\">docker run hello-world       # Installation testen<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E1E4E8\">docker ps                    # laufende Container anzeigen<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E1E4E8\">docker ps -a                 # auch gestoppte Container<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E1E4E8\">docker images                # lokale Images auflisten<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E1E4E8\">docker logs &lt;container&gt;       # Logs eines Containers ansehen<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E1E4E8\">docker stop &lt;container&gt;       # Container stoppen<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Einen Nginx-Webserver startest du z.&nbsp;B. so \u2013 erreichbar unter <code>http:\/\/localhost:8080<\/code>:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#24292e\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#e1e4e8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>curl -sfL https:\/\/get.k3s.io | INSTALL_K3S_EXEC=\"--disable traefik --disable servicelb\" K3S_KUBECONFIG_MODE=\"644\" sh -s -\n<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #E1E4E8\">docker run -d --name web -p 8080:80 nginx:latest<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Mehrere Container mit Docker Compose<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">F\u00fcr Setups aus mehreren Diensten nutzt du <strong>Docker Compose<\/strong>. Eine minimale <code>docker-compose.yml<\/code> sieht so aus:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#24292e\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#e1e4e8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>curl -sfL https:\/\/get.k3s.io | INSTALL_K3S_EXEC=\"--disable traefik --disable servicelb\" K3S_KUBECONFIG_MODE=\"644\" sh -s -\n<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #E1E4E8\">services:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E1E4E8\">  web:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E1E4E8\">    image: nginx:latest<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E1E4E8\">    ports:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E1E4E8\">      - &quot;8080:80&quot;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E1E4E8\">    volumes:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E1E4E8\">      - .\/html:\/usr\/share\/nginx\/html<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E1E4E8\">    restart: unless-stopped<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Gestartet wird der komplette Stack mit einem Befehl:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#24292e\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#e1e4e8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>curl -sfL https:\/\/get.k3s.io | INSTALL_K3S_EXEC=\"--disable traefik --disable servicelb\" K3S_KUBECONFIG_MODE=\"644\" sh -s -\n<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #E1E4E8\">docker compose up -d     # Stack im Hintergrund starten<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E1E4E8\">docker compose down      # Stack stoppen und entfernen<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Typische Probleme &amp; weiterf\u00fchrende Anleitungen<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Beim Einstieg stolpert man \u00fcber wiederkehrende Fehler \u2013 von belegten Ports bis zu Volume-Problemen. Eine \u00dcbersicht mit L\u00f6sungen findest du hier:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/netguide.io\/linux\/de\/die-10-haeufigsten-docker-fehler-mit-loesungen\/\">Die 10 h\u00e4ufigsten Docker-Fehler \u2013 Ursachen und L\u00f6sungen<\/a><\/li><li><a href=\"https:\/\/netguide.io\/linux\/de\/netbird-mit-zitadel-installieren-docker-compose\/\">Netbird mit Zitadel installieren (Docker Compose)<\/a><\/li><li><a href=\"https:\/\/netguide.io\/linux\/de\/nagios-ncpa-docker-check-script-mit-substates\/\">Nagios \/ NCPA Docker Check Script mit Substates<\/a><\/li><li><a href=\"https:\/\/netguide.io\/linux\/de\/docker-compose-refers-to-undefined-volume-loesung\/\">Docker-Compose: \u201eservice refers to undefined volume\u201c \u2013 L\u00f6sung<\/a><\/li><li><a href=\"https:\/\/netguide.io\/linux\/de\/mit-dem-nginx-proxy-manager-docker-container-ueber-das-internet-verfuegbar-machen\/\">Docker-Dienste per Nginx Proxy Manager ver\u00f6ffentlichen<\/a><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">H\u00e4ufige Fragen zu Docker<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Ist Docker kostenlos?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Docker Engine ist Open Source und kostenlos. F\u00fcr Docker Desktop gelten je nach Unternehmensgr\u00f6\u00dfe Lizenzbedingungen \u2013 auf Servern nutzt du in der Regel ohnehin die Docker Engine.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Brauche ich Linux f\u00fcr Docker?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Docker l\u00e4uft nativ unter Linux und \u00fcber Docker Desktop auch unter Windows und macOS. Auf Homeservern kommt meist eine Linux-Basis (oder unRAID) zum Einsatz.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Was ist der Unterschied zwischen Image und Container?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Ein Image ist die unver\u00e4nderliche Vorlage, ein Container die daraus gestartete, laufende Instanz. Aus einem Image lassen sich beliebig viele Container starten.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Fazit<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Docker macht Anwendungen portabel, schnell und sauber trennbar \u2013 ideal f\u00fcr Homelab, Selfhosting und Produktion. Wer die Kernbegriffe (Image, Container, Volume, Compose) verstanden hat und die Grundbefehle kennt, hat den wichtigsten Schritt bereits geschafft.<\/p>\n\n<script type=\"text\/plain\" data-tcf=\"waiting-for-consent\" data-id=\"4799\" data-bid=\"2\" data-placement=\"4800\">PGRpdiBpZD0ibmV0Z3VpZGVhLTMzMDk2MjQ3NTEiIGNsYXNzPSJuZXRndWlkZWEtYWZ0ZXItY29udGVudCBuZXRndWlkZWEtZW50aXR5LXBsYWNlbWVudCI+PGRpdiBjbGFzcz0ibmV0Z3VpZGVhLWFkbGFiZWwiPkFkdmVydGlzZW1lbnRzPC9kaXY+PHNjcmlwdCBhc3luYyBzcmM9Ii8vcGFnZWFkMi5nb29nbGVzeW5kaWNhdGlvbi5jb20vcGFnZWFkL2pzL2Fkc2J5Z29vZ2xlLmpzP2NsaWVudD1jYS1wdWItNjI1ODU1NjI1NzI0NTk5OCIgY3Jvc3NvcmlnaW49ImFub255bW91cyI+PC9zY3JpcHQ+PGlucyBjbGFzcz0iYWRzYnlnb29nbGUiIHN0eWxlPSJkaXNwbGF5OmJsb2NrOyIgZGF0YS1hZC1jbGllbnQ9ImNhLXB1Yi02MjU4NTU2MjU3MjQ1OTk4IiAKZGF0YS1hZC1zbG90PSI0NTU5Nzg1MDAyIiAKZGF0YS1hZC1mb3JtYXQ9ImF1dG8iPjwvaW5zPgo8c2NyaXB0PiAKKGFkc2J5Z29vZ2xlID0gd2luZG93LmFkc2J5Z29vZ2xlIHx8IFtdKS5wdXNoKHt9KTsgCjwvc2NyaXB0Pgo8L2Rpdj4=<\/script>","protected":false},"excerpt":{"rendered":"<p>Was ist Docker? Container einfach erkl\u00e4rt: Unterschied zur VM, die wichtigsten Begriffe (Image, Container, Volume, Compose) und die ersten Befehle zum Start.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[231,9],"tags":[],"class_list":["post-4825","post","type-post","status-publish","format-standard","hentry","category-docker","category-linux"],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"Tobias Pries","author_link":"https:\/\/netguide.io\/linux\/author\/tobias-pries\/"},"uagb_comment_info":0,"uagb_excerpt":"Was ist Docker? Container einfach erkl\u00e4rt: Unterschied zur VM, die wichtigsten Begriffe (Image, Container, Volume, Compose) und die ersten Befehle zum Start.","brizy_media":[],"_links":{"self":[{"href":"https:\/\/netguide.io\/linux\/wp-json\/wp\/v2\/posts\/4825","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/netguide.io\/linux\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/netguide.io\/linux\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/netguide.io\/linux\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/netguide.io\/linux\/wp-json\/wp\/v2\/comments?post=4825"}],"version-history":[{"count":2,"href":"https:\/\/netguide.io\/linux\/wp-json\/wp\/v2\/posts\/4825\/revisions"}],"predecessor-version":[{"id":4833,"href":"https:\/\/netguide.io\/linux\/wp-json\/wp\/v2\/posts\/4825\/revisions\/4833"}],"wp:attachment":[{"href":"https:\/\/netguide.io\/linux\/wp-json\/wp\/v2\/media?parent=4825"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/netguide.io\/linux\/wp-json\/wp\/v2\/categories?post=4825"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/netguide.io\/linux\/wp-json\/wp\/v2\/tags?post=4825"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}