{"id":975,"date":"2023-09-03T20:00:21","date_gmt":"2023-09-03T18:00:21","guid":{"rendered":"https:\/\/linux-bibel.at\/?p=975"},"modified":"2023-09-03T20:00:22","modified_gmt":"2023-09-03T18:00:22","slug":"docker-desktop-fuer-linux","status":"publish","type":"post","link":"https:\/\/linux-bibel.at\/index.php\/2023\/09\/03\/docker-desktop-fuer-linux\/","title":{"rendered":"Docker Desktop f\u00fcr Linux"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Docker wird haupts\u00e4chlich dazu genutzt, um andere Linux-Distributionen unter Linux zu emulieren, oder auch unter Windows, um Windows zu emulieren. Also um Anwendungen unter Linux zu nutzen, die auf der eingesetzten Distribution nicht verf\u00fcgbar sind oder professionell, um damit mehrere Webserver zu betreiben &#8211; mehr im Artikel\u00a0Docker.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Docker wird grundlegend auf dem\u00a0Terminal\u00a0genutzt &#8211; Docker Desktop hat eine grafische Oberfl\u00e4che, vor allem um Nutzern neue Funktionen einfacher nutzen zu k\u00f6nnen.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Docker Desktop installieren<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Leider bringt auch Docker nur eine Anleitung zur Installation \u00fcber das alte &#8222;<strong>apt-get<\/strong>&#8220; und mit dem veralteten Dienst f\u00fcr die Schl\u00fcssel (siehe auch\u00a0<a rel=\"noreferrer noopener\" href=\"https:\/\/linux-bibel.at\/index.php\/2023\/09\/03\/apt-key-ist-veraltet\/\" data-type=\"post\" data-id=\"930\" target=\"_blank\">apt-key ist veraltet<\/a>).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Die folgende Anleitung k\u00f6nnte funktionieren (<em>als root am Terminal<\/em>):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt install ca-certificates curl gnupg lsb-release<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code> curl -fsSL https:\/\/download.docker.com\/linux\/debian\/gpg | sudo gpg --dearmor -o \/usr\/share\/keyrings\/docker-archive-keyring.gpg<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>echo \"deb &#91;arch=$(dpkg --print-architecture) signed-by=\/usr\/share\/keyrings\/docker-archive-keyring.gpg] https:\/\/download.docker.com\/linux\/debian $(lsb_release -cs) stable\" | sudo tee \/etc\/apt\/sources.list.d\/docker.list &gt; \/dev\/null<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>apt update\napt install docker-desktop\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Ich habe mir ganz einfach die entsprechenden Pakete von&nbsp;<a href=\"https:\/\/download.docker.com\/linux\/debian\/dists\/bullseye\/pool\/stable\/amd64\/\" target=\"_blank\" rel=\"noreferrer noopener\">f\u00fcr Bullseye<\/a>&nbsp;heruntergeladen &#8211; f\u00fcr weitere Releases finden Sie entsprechende Pakete unter&nbsp;<a href=\"https:\/\/download.docker.com\/linux\/debian\/dists\/\" target=\"_blank\" rel=\"noreferrer noopener\">Docker-Desktop<\/a>&nbsp;&#8211; einfach dem Link des Debian-Releases folgen &#8222;<em>pool \u2192 stable \u2192 Prozessor-Architektur<\/em>&#8222;.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Anschlie\u00dfend wechselt man in das Download-Verzeichnis am Terminal:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd Downloads\/<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Und installiert die Pakete:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt install .\/*.deb<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Docker Desktop nutzen<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Sie finden diese Software nach der Installation im Anwendungsmen\u00fc unter der Kategorie\u00a0<em>nicht zuzuordnen<\/em>, alternativ nutzen Sie den Schnellstarter (Alt+F2) oder das Terminal mit dem Befehl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/opt\/docker-desktop\/bin\/docker-desktop<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/docker-desktop-1024x576.jpg\" alt=\"\" class=\"wp-image-976\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/docker-desktop-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/docker-desktop-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/docker-desktop-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/docker-desktop-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/docker-desktop.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Zu Beginn gilt es die Lizenz zu akzeptieren, anschlie\u00dfend \u00f6ffnet sich die eigentliche Anwendung &#8211; dies kann ein paar Sekunden dauern:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/docker-desktop-1-1024x576.jpg\" alt=\"\" class=\"wp-image-977\" style=\"width:700px;height:394px\" width=\"700\" height=\"394\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/docker-desktop-1-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/docker-desktop-1-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/docker-desktop-1-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/docker-desktop-1-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/docker-desktop-1.jpg 1920w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Die Software bietet nun an, unter\u00a0<em>Home<\/em>\u00a0ein paar gerne genutzte Docker-Images zu installieren und gleich zu starten &#8211; einfach auf &#8222;<strong>Run<\/strong>&#8220; klicken. Unter &#8222;<strong>Images<\/strong>&#8220; l\u00e4sst es sich nach weiteren online verf\u00fcgbaren Images suchen und diese zu installieren.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/docker-desktop-2-1024x576.jpg\" alt=\"\" class=\"wp-image-978\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/docker-desktop-2-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/docker-desktop-2-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/docker-desktop-2-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/docker-desktop-2-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/docker-desktop-2.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Auch Erweiterungen lassen sich ganz einfach per Mausklick installieren, die Einstellungen finden sich rechts oben unter dem Icon mit dem Zahnrad:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/docker-desktop-3-1024x576.jpg\" alt=\"\" class=\"wp-image-979\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/docker-desktop-3-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/docker-desktop-3-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/docker-desktop-3-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/docker-desktop-3-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/docker-desktop-3.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<div class=\"pld-like-dislike-wrap pld-custom\">\r\n    <div class=\"pld-like-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-like-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir\" data-post-id=\"975\" data-trigger-type=\"like\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Hoch.png\" alt=\"Gef\u00e4llt mir\" \/>\r\n            <\/a>\r\n    <span class=\"pld-like-count-wrap pld-count-wrap\">    <\/span>\r\n<\/div><div class=\"pld-dislike-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-dislike-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir nicht\" data-post-id=\"975\" data-trigger-type=\"dislike\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Runter.png\" alt=\"Gef\u00e4llt mir nicht\" \/>\r\n            <\/a>\r\n    <span class=\"pld-dislike-count-wrap pld-count-wrap\"><\/span>\r\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Docker wird haupts\u00e4chlich dazu genutzt, um andere Linux-Distributionen unter Linux zu emulieren, oder auch unter Windows, um Windows zu emulieren. Also um Anwendungen unter Linux zu nutzen, die auf der eingesetzten Distribution nicht verf\u00fcgbar sind oder professionell, um damit mehrere Webserver zu betreiben &#8211; mehr im Artikel\u00a0Docker. Docker wird grundlegend auf dem\u00a0Terminal\u00a0genutzt &#8211; Docker Desktop [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":979,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[66,17,67],"tags":[68,15,69],"class_list":["post-975","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-docker","category-system","category-virtualisierung","tag-docker","tag-system","tag-virtualisierung"],"_links":{"self":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/975","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/comments?post=975"}],"version-history":[{"count":1,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/975\/revisions"}],"predecessor-version":[{"id":980,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/975\/revisions\/980"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media\/979"}],"wp:attachment":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media?parent=975"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/categories?post=975"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/tags?post=975"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}