{"id":37027,"date":"2023-03-01T04:18:16","date_gmt":"2023-03-01T04:18:16","guid":{"rendered":"https:\/\/www.railscarma.com\/?p=37027"},"modified":"2023-04-03T12:44:10","modified_gmt":"2023-04-03T12:44:10","slug":"wie-man-eine-bestehende-rails-anwendung-andockt","status":"publish","type":"post","link":"https:\/\/www.railscarma.com\/de\/blog\/wie-man-eine-bestehende-rails-anwendung-andockt\/","title":{"rendered":"Wie wird eine bestehende Rails-Anwendung gedockt?"},"content":{"rendered":"<div data-elementor-type=\"wp-post\" data-elementor-id=\"37027\" class=\"elementor elementor-37027\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-31a7b1e elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"31a7b1e\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-767e91d\" data-id=\"767e91d\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-27ec54b elementor-widget elementor-widget-text-editor\" data-id=\"27ec54b\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"font-weight: 400;\">Als neugieriger Entwickler und Technik-Enthusiast verpassen Sie nie eine Gelegenheit, jeden Tag etwas Neues zu lernen! Dieser Drang zu lernen ist etwas, das WIR nachempfinden k\u00f6nnen. In diesem Beitrag zeigen wir dir <\/span><b>wie man eine Rails-Anwendung andockt<\/b><span style=\"font-weight: 400;\"> mit Hilfe von Rails Docker Compose. Wir brauchen Docker, also sollten Sie wissen, was es ist und warum es notwendig ist.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Beginnen wir mit der App-Entwicklung und Dockerisierung.<\/span><\/p>\n<h2><b>Was ist Docker?<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Verwendung von <a href=\"https:\/\/en.wikipedia.org\/wiki\/Docker_(software)\">Docker<\/a>k\u00f6nnen Sie einen Dienst oder eine Anwendung mit all ihren Abh\u00e4ngigkeiten in eine standardisierte Einheit packen. In der Regel wird f\u00fcr diese Art von Einheit ein Docker-Image verwendet.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Alle Komponenten, die zum Ausf\u00fchren der Anwendung ben\u00f6tigt werden, sind enthalten. Docker-Images enthalten Code, Laufzeiten, Bibliotheken und alles andere, was Sie auf einem Server installieren w\u00fcrden, um ihn ohne Docker zum Laufen zu bringen.<\/span><\/p>\n<h2><b>Wodurch sich Docker von einer virtuellen Maschine unterscheidet<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Vielleicht haben Sie schon einmal eine virtuelle Maschine mit Vagrant, VirtualBox oder VMWare betrieben. Trotz der M\u00f6glichkeit, Dienste zu isolieren, sind virtuelle Maschinen aufgrund einiger signifikanter Unterschiede viel weniger effizient.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">F\u00fcr jede Anwendung, die Sie isolieren wollen, ben\u00f6tigen Sie ein ganzes Gastbetriebssystem. Au\u00dferdem kann das Hochfahren virtueller Maschinen viele Sekunden dauern, und jede kann bis zu einem Gigabyte gro\u00df sein.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Ein Docker-Container teilt sich den Kernel Ihres Hosts, und die Isolierung wird durch Gruppen und andere Kernelbibliotheken erreicht. Da Docker sehr leichtgewichtig ist, wird ein Container in der Regel in wenigen Millisekunden gestartet und ben\u00f6tigt nur wenig Speicherplatz f\u00fcr die Ausf\u00fchrung.<\/span><\/p>\n<h2><b>Was ist die Quintessenz?<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">W\u00e4re es nicht gro\u00dfartig, wenn Sie Ihre <a href=\"https:\/\/www.railscarma.com\/de\/entwicklung-kundenspezifischer-schienenanwendungen\/\">Rails-Anwendung<\/a> auf Ihrer Workstation isoliert, ohne RVM oder Chruby zu verwenden, und der Wechsel der Ruby-Version war einfach?<\/span><\/p>\n<p><span style=\"font-weight: 400;\">W\u00e4re es nicht toll, wenn Sie alles, was Sie f\u00fcr jedes Ihrer 10 Rails-Projekte ben\u00f6tigen, isolieren k\u00f6nnten, ohne wertvollen SSD-Speicher zu verschwenden?<\/span><\/p>\n<p><span style=\"font-weight: 400;\">W\u00e4re es nicht gro\u00dfartig, wenn Sie Ihren Rails-, PostgreSQL-, Redis- und Sidekiq-Stack in nur wenigen Sekunden aufsetzen k\u00f6nnten?<\/span><\/p>\n<p><span style=\"font-weight: 400;\">K\u00f6nnen Sie sich vorstellen, dass Sie Ihr Projekt auf GitHub und anderen <a href=\"https:\/\/www.railscarma.com\/de\/stellen-sie-einen-ruby-on-rails-entwickler-ein\/\">Entwickler<\/a> mit einem einzigen Befehl alles in wenigen Minuten zum Laufen bringen k\u00f6nnte?<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Dank Docker sind all diese Dinge m\u00f6glich.<\/span><\/p>\n<h2><b>Die Vorteile der Verwendung von Docker<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Docker bietet f\u00fcnf Hauptvorteile, die Ihre Softwareentwicklungsproduktivit\u00e4t und -erfahrung insgesamt verbessern werden:<\/span><\/p>\n<h4><strong>1. Konsistenz in verschiedenen Umgebungen<\/strong><\/h4>\n<p><span style=\"font-weight: 400;\">Ihre Anwendung kann mit Docker gekapselt werden, so dass sie leicht zwischen Umgebungen verschoben werden kann. Alle Umgebungen und Maschinen, die in der Lage sind, Docker auszuf\u00fchren, sind in der Lage, sie auszuf\u00fchren.<\/span><\/p>\n<h4><strong>2. Einfache M\u00f6glichkeiten zur Erweiterung Ihres Entwicklungsteams<\/strong><\/h4>\n<p><span style=\"font-weight: 400;\">Ein neuer Entwickler sollte nicht erst ein 30-seitiges Dokument lesen m\u00fcssen, um zu lernen, wie er Ihre Anwendung lokal ausf\u00fchren kann. Neue Entwickler werden w\u00e4hrend dieses Prozesses, der einen ganzen Tag oder l\u00e4nger dauern kann, wahrscheinlich Fehler machen.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Mit Docker k\u00f6nnen Sie Ihre Multi-Service-Anwendung automatisiert, wiederholbar und effizient in Ihrem Team bereitstellen. Ein paar Befehle sp\u00e4ter funktioniert alles.<\/span><\/p>\n<h4><strong>3. W\u00e4hlen Sie eine Technologie, die Ihren Bed\u00fcrfnissen entspricht<\/strong><\/h4>\n<p><span style=\"font-weight: 400;\">Als Start-up oder als Unternehmen, das nur eine Sprache verwendet, k\u00f6nnten Sie sich selbst benachteiligen. Sie k\u00f6nnen als Entwickler mit neuen Sprachen und Frameworks experimentieren, indem Sie eine Anwendung in einem Docker-Container isolieren.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Die Technologie Ihrer Wahl muss nicht mehr von anderen Entwicklern eingerichtet werden. Sie k\u00f6nnen ein Docker-Image ausf\u00fchren, das Sie ihnen \u00fcbergeben.<\/span><\/p>\n<h4><strong>4. Stellen Sie Ihr Abbild viele Male bereit, indem Sie es einmal erstellen<\/strong><\/h4>\n<p><span style=\"font-weight: 400;\">Das vorgefertigte Docker-Image erm\u00f6glicht es, Ihre Anwendungen innerhalb von Millisekunden zu starten. Die Skalierbarkeit ist dadurch sehr einfach.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Zeitaufw\u00e4ndige Aufgaben wie die Installation von Abh\u00e4ngigkeiten m\u00fcssen nur einmal zum Zeitpunkt der Erstellung ausgef\u00fchrt werden. Sobald das Image erstellt ist, k\u00f6nnen Sie es auf verschiedene Hosts verschieben.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Dies macht Ihre Bereitstellungen nicht nur vorhersehbarer und stabiler, sondern hilft Ihnen auch bei der schnellen Skalierung.<\/span><\/p>\n<h4><span style=\"font-weight: 400;\"><strong>5. Betriebsleiter und Entwickler k\u00f6nnen zusammenarbeiten<\/strong><\/span><\/h4>\n<p><span style=\"font-weight: 400;\">Entwickler und Betriebsleiter k\u00f6nnen mit dem Toolset von Docker zusammenarbeiten, um Anwendungen bereitzustellen.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Docker bietet eine Abstraktion. Eine Anwendung kann verteilt werden, ohne dass ein anderes Team wissen muss, wie sie einzurichten oder zu konfigurieren ist.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Au\u00dferdem wird es einfacher, Docker-Images \u00f6ffentlich oder privat zu verbreiten. Wenn neue Versionen ver\u00f6ffentlicht werden, k\u00f6nnen Sie verfolgen, was sich ge\u00e4ndert hat.<\/span><\/p>\n<h2><strong>Die Voraussetzungen<\/strong><\/h2>\n<p><span style=\"font-weight: 400;\">Docker muss installiert werden. Sie k\u00f6nnen Docker auf den meisten g\u00e4ngigen Linux-Distributionen ausf\u00fchren, und es gibt Tools, mit denen Sie es auch unter OSX und Windows ausf\u00fchren k\u00f6nnen.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Linux-Benutzer werden von dieser Anleitung profitieren, aber OSX- und Windows-Benutzer werden Kommentare finden, wenn Dinge angepasst werden m\u00fcssen.<\/span><\/p>\n<h3><strong>Docker-Installation<\/strong><\/h3>\n<p><span style=\"font-weight: 400;\">Je nach Betriebssystem k\u00f6nnen Sie eine der folgenden Installationsanleitungen befolgen:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Linux: https:\/\/docs.docker.com\/get-started\/<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Windows und Mac: https:\/\/www.docker.com\/products\/docker-desktop<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Es wird empfohlen, dass Sie Docker installiert haben und dass Sie das Hallo-Welt-Beispiel aus einer der oben genannten Installationsanleitungen abgeschlossen haben, bevor Sie fortfahren.<\/span><\/p>\n<h3><b>Abschluss<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Die Containerisierung einer Produktion <a href=\"https:\/\/www.railscarma.com\/de\/entwicklung-kundenspezifischer-schienenanwendungen\/\">Rails-Anwendung<\/a> bringt eine Reihe von Herausforderungen mit sich, wie Sie zweifellos wissen. Mit dem Wachstum Ihrer Anwendung haben Sie vielleicht eine Reihe von Abh\u00e4ngigkeiten angeh\u00e4uft, die eine Migration wie diese zu einer Herausforderung machen. Es spielt keine Rolle, ob es sich um einen Background Worker, einen Mailer oder ein Geheimnis handelt, es gibt etablierte Muster, um die meisten Fallstricke zu bew\u00e4ltigen. Die Einfachheit k\u00fcnftiger \u00c4nderungen und Bereitstellungen wird die Investition lohnenswert machen, sobald die anf\u00e4ngliche Arbeit, eine Produktionsanwendung mit Docker zum Laufen zu bringen, abgeschlossen ist.<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t  <div class=\"related-post slider\">\r\n        <div class=\"headline\">zusammenh\u00e4ngende Posts<\/div>\r\n    <div class=\"post-list owl-carousel\">\r\n\r\n            <div class=\"item\">\r\n            <div class=\"thumb post_thumb\">\r\n    <a  title=\"Ruby on Rails f\u00fcr MLOps: Ein vollst\u00e4ndiger Leitfaden f\u00fcr die ML-Bereitstellung\" href=\"https:\/\/www.railscarma.com\/de\/blog\/ruby-on-rails-for-mlops-a-complete-guide-to-ml-deployment\/?related_post_from=41350\">\r\n\r\n      <img decoding=\"async\" width=\"800\" height=\"300\" src=\"https:\/\/www.railscarma.com\/wp-content\/uploads\/2026\/05\/Ruby-on-Rails-for-MLOps.png\" class=\"attachment-full size-full wp-post-image\" alt=\"Ruby on Rails f\u00fcr MLOps\" srcset=\"https:\/\/www.railscarma.com\/wp-content\/uploads\/2026\/05\/Ruby-on-Rails-for-MLOps.png 800w, https:\/\/www.railscarma.com\/wp-content\/uploads\/2026\/05\/Ruby-on-Rails-for-MLOps-300x113.png 300w, https:\/\/www.railscarma.com\/wp-content\/uploads\/2026\/05\/Ruby-on-Rails-for-MLOps-768x288.png 768w, https:\/\/www.railscarma.com\/wp-content\/uploads\/2026\/05\/Ruby-on-Rails-for-MLOps-18x7.png 18w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\r\n\r\n    <\/a>\r\n  <\/div>\r\n\r\n  <a class=\"title post_title\"  title=\"Ruby on Rails f\u00fcr MLOps: Ein vollst\u00e4ndiger Leitfaden f\u00fcr die ML-Bereitstellung\" href=\"https:\/\/www.railscarma.com\/de\/blog\/ruby-on-rails-for-mlops-a-complete-guide-to-ml-deployment\/?related_post_from=41350\">\r\n        Ruby on Rails f\u00fcr MLOps: Ein vollst\u00e4ndiger Leitfaden f\u00fcr die ML-Bereitstellung  <\/a>\r\n\r\n        <\/div>\r\n              <div class=\"item\">\r\n            <div class=\"thumb post_thumb\">\r\n    <a  title=\"Erstellung von agentenbasierten KI-Anwendungen mit Ruby on Rails\" href=\"https:\/\/www.railscarma.com\/de\/blog\/erstellung-von-agentenbasierten-ki-anwendungen-mit-ruby-on-rails\/?related_post_from=41339\">\r\n\r\n      <img decoding=\"async\" width=\"800\" height=\"300\" src=\"https:\/\/www.railscarma.com\/wp-content\/uploads\/2026\/05\/Building-Agentic-AI-Applications-with-Ruby-on-Rails.png\" class=\"attachment-full size-full wp-post-image\" alt=\"Agentische KI-Anwendungen mit Ruby on Rails\" srcset=\"https:\/\/www.railscarma.com\/wp-content\/uploads\/2026\/05\/Building-Agentic-AI-Applications-with-Ruby-on-Rails.png 800w, https:\/\/www.railscarma.com\/wp-content\/uploads\/2026\/05\/Building-Agentic-AI-Applications-with-Ruby-on-Rails-300x113.png 300w, https:\/\/www.railscarma.com\/wp-content\/uploads\/2026\/05\/Building-Agentic-AI-Applications-with-Ruby-on-Rails-768x288.png 768w, https:\/\/www.railscarma.com\/wp-content\/uploads\/2026\/05\/Building-Agentic-AI-Applications-with-Ruby-on-Rails-18x7.png 18w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\r\n\r\n    <\/a>\r\n  <\/div>\r\n\r\n  <a class=\"title post_title\"  title=\"Erstellung von agentenbasierten KI-Anwendungen mit Ruby on Rails\" href=\"https:\/\/www.railscarma.com\/de\/blog\/erstellung-von-agentenbasierten-ki-anwendungen-mit-ruby-on-rails\/?related_post_from=41339\">\r\n        Erstellung von agentenbasierten KI-Anwendungen mit Ruby on Rails  <\/a>\r\n\r\n        <\/div>\r\n              <div class=\"item\">\r\n            <div class=\"thumb post_thumb\">\r\n    <a  title=\"Was ist Offliberty Ruby Gem und wie funktioniert es?\" href=\"https:\/\/www.railscarma.com\/de\/blog\/was-ist-offliberty-ruby-gem-und-wie-funktioniert-es\/?related_post_from=41304\">\r\n\r\n      <img decoding=\"async\" width=\"800\" height=\"300\" src=\"https:\/\/www.railscarma.com\/wp-content\/uploads\/2026\/04\/What-is-Offliberty-Ruby-Gem-and-How-It-Works.png\" class=\"attachment-full size-full wp-post-image\" alt=\"Offliberty Ruby Gem\" srcset=\"https:\/\/www.railscarma.com\/wp-content\/uploads\/2026\/04\/What-is-Offliberty-Ruby-Gem-and-How-It-Works.png 800w, https:\/\/www.railscarma.com\/wp-content\/uploads\/2026\/04\/What-is-Offliberty-Ruby-Gem-and-How-It-Works-300x113.png 300w, https:\/\/www.railscarma.com\/wp-content\/uploads\/2026\/04\/What-is-Offliberty-Ruby-Gem-and-How-It-Works-768x288.png 768w, https:\/\/www.railscarma.com\/wp-content\/uploads\/2026\/04\/What-is-Offliberty-Ruby-Gem-and-How-It-Works-18x7.png 18w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\r\n\r\n    <\/a>\r\n  <\/div>\r\n\r\n  <a class=\"title post_title\"  title=\"Was ist Offliberty Ruby Gem und wie funktioniert es?\" href=\"https:\/\/www.railscarma.com\/de\/blog\/was-ist-offliberty-ruby-gem-und-wie-funktioniert-es\/?related_post_from=41304\">\r\n        Was ist Offliberty Ruby Gem und wie funktioniert es?  <\/a>\r\n\r\n        <\/div>\r\n              <div class=\"item\">\r\n            <div class=\"thumb post_thumb\">\r\n    <a  title=\"Wie man eine skalierbare SaaS-Plattform mit Ruby on Rails aufbaut\" href=\"https:\/\/www.railscarma.com\/de\/blog\/how-to-build-a-scalable-saas-platform-using-ruby-on-rails\/?related_post_from=41273\">\r\n\r\n      <img decoding=\"async\" width=\"800\" height=\"300\" src=\"https:\/\/www.railscarma.com\/wp-content\/uploads\/2026\/04\/Build-a-SaaS-Platform-Using-Ruby-on-Rails.png\" class=\"attachment-full size-full wp-post-image\" alt=\"Aufbau einer SaaS-Plattform mit Ruby on Rails\" srcset=\"https:\/\/www.railscarma.com\/wp-content\/uploads\/2026\/04\/Build-a-SaaS-Platform-Using-Ruby-on-Rails.png 800w, https:\/\/www.railscarma.com\/wp-content\/uploads\/2026\/04\/Build-a-SaaS-Platform-Using-Ruby-on-Rails-300x113.png 300w, https:\/\/www.railscarma.com\/wp-content\/uploads\/2026\/04\/Build-a-SaaS-Platform-Using-Ruby-on-Rails-768x288.png 768w, https:\/\/www.railscarma.com\/wp-content\/uploads\/2026\/04\/Build-a-SaaS-Platform-Using-Ruby-on-Rails-18x7.png 18w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\r\n\r\n    <\/a>\r\n  <\/div>\r\n\r\n  <a class=\"title post_title\"  title=\"Wie man eine skalierbare SaaS-Plattform mit Ruby on Rails aufbaut\" href=\"https:\/\/www.railscarma.com\/de\/blog\/how-to-build-a-scalable-saas-platform-using-ruby-on-rails\/?related_post_from=41273\">\r\n        Wie man eine skalierbare SaaS-Plattform mit Ruby on Rails aufbaut  <\/a>\r\n\r\n        <\/div>\r\n      \r\n  <\/div>\r\n\r\n  <script>\r\n      <\/script>\r\n  <style>\r\n    .related-post {}\r\n\r\n    .related-post .post-list {\r\n      text-align: left;\r\n          }\r\n\r\n    .related-post .post-list .item {\r\n      margin: 10px;\r\n      padding: 10px;\r\n          }\r\n\r\n    .related-post .headline {\r\n      font-size: 14px !important;\r\n      color: #999999 !important;\r\n          }\r\n\r\n    .related-post .post-list .item .post_thumb {\r\n      max-height: 220px;\r\n      margin: 10px 0px;\r\n      padding: 0px;\r\n      display: block;\r\n          }\r\n\r\n    .related-post .post-list .item .post_title {\r\n      font-size: 14px;\r\n      color: #000000;\r\n      margin: 10px 0px;\r\n      padding: 0px;\r\n      display: block;\r\n      text-decoration: none;\r\n          }\r\n\r\n    .related-post .post-list .item .post_excerpt {\r\n      font-size: 12px;\r\n      color: #3f3f3f;\r\n      margin: 10px 0px;\r\n      padding: 0px;\r\n      display: block;\r\n      text-decoration: none;\r\n          }\r\n\r\n    .related-post .owl-dots .owl-dot {\r\n          }\r\n\r\n      <\/style>\r\n      <script>\r\n      jQuery(document).ready(function($) {\r\n        $(\".related-post .post-list\").owlCarousel({\r\n          items: 2,\r\n          responsiveClass: true,\r\n          responsive: {\r\n            0: {\r\n              items: 1,\r\n            },\r\n            768: {\r\n              items: 2,\r\n            },\r\n            1200: {\r\n              items: 2,\r\n            }\r\n          },\r\n                      rewind: true,\r\n                                loop: true,\r\n                                center: false,\r\n                                autoplay: true,\r\n            autoplayHoverPause: true,\r\n                                nav: true,\r\n            navSpeed: 1000,\r\n            navText: ['<i class=\"fas fa-chevron-left\"><\/i>', '<i class=\"fas fa-chevron-right\"><\/i>'],\r\n                                dots: false,\r\n            dotsSpeed: 1200,\r\n                                                    rtl: false,\r\n          \r\n        });\r\n      });\r\n    <\/script>\r\n  <\/div>","protected":false},"excerpt":{"rendered":"<p>A curious developer and tech enthusiast, never miss an opportunity to learn something new every day! This urge to learn is something WE can relate to. In this post, we&#8217;ll show you how to dockerize a rails application with help from Rails Docker Compose. We need Docker, so you should know what it is and &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/www.railscarma.com\/de\/blog\/how-to-build-a-scalable-saas-platform-using-ruby-on-rails\/\"> <span class=\"screen-reader-text\">Wie man eine skalierbare SaaS-Plattform mit Ruby on Rails aufbaut<\/span> Weiterlesen \u00bb<\/a><\/p>","protected":false},"author":1,"featured_media":37032,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1224],"tags":[],"class_list":["post-37027","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Dockerize an existing Rails application? - Railscarma<\/title>\n<meta name=\"description\" content=\"From this article, you&#039;ll learn how to dockerize an existing Ruby on Rails application to make development faster and easier.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.railscarma.com\/de\/blog\/wie-man-eine-bestehende-rails-anwendung-andockt\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Dockerize an existing Rails application? - Railscarma\" \/>\n<meta property=\"og:description\" content=\"From this article, you&#039;ll learn how to dockerize an existing Ruby on Rails application to make development faster and easier.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.railscarma.com\/de\/blog\/wie-man-eine-bestehende-rails-anwendung-andockt\/\" \/>\n<meta property=\"og:site_name\" content=\"RailsCarma - Ruby on Rails Development Company specializing in Offshore Development\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RailsCarma\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-03-01T04:18:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-03T12:44:10+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.railscarma.com\/wp-content\/uploads\/2023\/02\/How-to-Dockerize-an-existing-Rails-application.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"300\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@railscarma\" \/>\n<meta name=\"twitter:site\" content=\"@railscarma\" \/>\n<meta name=\"twitter:label1\" content=\"Verfasst von\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Gesch\u00e4tzte Lesezeit\" \/>\n\t<meta name=\"twitter:data2\" content=\"4\u00a0Minuten\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.railscarma.com\/blog\/how-to-dockerize-an-existing-rails-application\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.railscarma.com\/blog\/how-to-dockerize-an-existing-rails-application\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/www.railscarma.com\/#\/schema\/person\/5f2228a2dec7549056e709de6eb85d21\"},\"headline\":\"How to Dockerize an existing Rails application?\",\"datePublished\":\"2023-03-01T04:18:16+00:00\",\"dateModified\":\"2023-04-03T12:44:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.railscarma.com\/blog\/how-to-dockerize-an-existing-rails-application\/\"},\"wordCount\":902,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.railscarma.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.railscarma.com\/blog\/how-to-dockerize-an-existing-rails-application\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.railscarma.com\/wp-content\/uploads\/2023\/02\/How-to-Dockerize-an-existing-Rails-application.jpg\",\"articleSection\":[\"Blogs\"],\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.railscarma.com\/blog\/how-to-dockerize-an-existing-rails-application\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.railscarma.com\/blog\/how-to-dockerize-an-existing-rails-application\/\",\"url\":\"https:\/\/www.railscarma.com\/blog\/how-to-dockerize-an-existing-rails-application\/\",\"name\":\"How to Dockerize an existing Rails application? - Railscarma\",\"isPartOf\":{\"@id\":\"https:\/\/www.railscarma.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.railscarma.com\/blog\/how-to-dockerize-an-existing-rails-application\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.railscarma.com\/blog\/how-to-dockerize-an-existing-rails-application\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.railscarma.com\/wp-content\/uploads\/2023\/02\/How-to-Dockerize-an-existing-Rails-application.jpg\",\"datePublished\":\"2023-03-01T04:18:16+00:00\",\"dateModified\":\"2023-04-03T12:44:10+00:00\",\"description\":\"From this article, you'll learn how to dockerize an existing Ruby on Rails application to make development faster and easier.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.railscarma.com\/blog\/how-to-dockerize-an-existing-rails-application\/#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.railscarma.com\/blog\/how-to-dockerize-an-existing-rails-application\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\/\/www.railscarma.com\/blog\/how-to-dockerize-an-existing-rails-application\/#primaryimage\",\"url\":\"https:\/\/www.railscarma.com\/wp-content\/uploads\/2023\/02\/How-to-Dockerize-an-existing-Rails-application.jpg\",\"contentUrl\":\"https:\/\/www.railscarma.com\/wp-content\/uploads\/2023\/02\/How-to-Dockerize-an-existing-Rails-application.jpg\",\"width\":800,\"height\":300,\"caption\":\"Dockerize Rails Application\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.railscarma.com\/blog\/how-to-dockerize-an-existing-rails-application\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.railscarma.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Dockerize an existing Rails application?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.railscarma.com\/#website\",\"url\":\"https:\/\/www.railscarma.com\/\",\"name\":\"RailsCarma - Ruby on Rails Development Company specializing in Offshore Development\",\"description\":\"RailsCarma is a Ruby on Rails Development Company in Bangalore. We specialize in Offshore Ruby on Rails Development based out in USA and India. Hire experienced Ruby on Rails developers for the ultimate Web Experience.\",\"publisher\":{\"@id\":\"https:\/\/www.railscarma.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.railscarma.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"de\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.railscarma.com\/#organization\",\"name\":\"RailsCarma\",\"url\":\"https:\/\/www.railscarma.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\/\/www.railscarma.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.railscarma.com\/wp-content\/uploads\/2020\/08\/railscarma_logo.png\",\"contentUrl\":\"https:\/\/www.railscarma.com\/wp-content\/uploads\/2020\/08\/railscarma_logo.png\",\"width\":200,\"height\":46,\"caption\":\"RailsCarma\"},\"image\":{\"@id\":\"https:\/\/www.railscarma.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/RailsCarma\/\",\"https:\/\/x.com\/railscarma\",\"https:\/\/www.linkedin.com\/company\/railscarma\/\",\"https:\/\/myspace.com\/railscarma\",\"https:\/\/in.pinterest.com\/railscarma\/\",\"https:\/\/www.youtube.com\/channel\/UCx3Wil-aAnDARuatTEyMdpg\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.railscarma.com\/#\/schema\/person\/5f2228a2dec7549056e709de6eb85d21\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\/\/www.railscarma.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/308867ca6c81f3aba146080c601000087180326f752c4116849ea9f514c6a4fa?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/308867ca6c81f3aba146080c601000087180326f752c4116849ea9f514c6a4fa?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/www.railscarma.com\/hire-ruby-on-rails-developer\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Wie dockt man eine bestehende Rails-Anwendung? - Railscarma","description":"In diesem Artikel erfahren Sie, wie Sie eine bestehende Ruby on Rails-Anwendung dockerisieren k\u00f6nnen, um die Entwicklung schneller und einfacher zu gestalten.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.railscarma.com\/de\/blog\/wie-man-eine-bestehende-rails-anwendung-andockt\/","og_locale":"de_DE","og_type":"article","og_title":"How to Dockerize an existing Rails application? - Railscarma","og_description":"From this article, you'll learn how to dockerize an existing Ruby on Rails application to make development faster and easier.","og_url":"https:\/\/www.railscarma.com\/de\/blog\/wie-man-eine-bestehende-rails-anwendung-andockt\/","og_site_name":"RailsCarma - Ruby on Rails Development Company specializing in Offshore Development","article_publisher":"https:\/\/www.facebook.com\/RailsCarma\/","article_published_time":"2023-03-01T04:18:16+00:00","article_modified_time":"2023-04-03T12:44:10+00:00","og_image":[{"width":800,"height":300,"url":"https:\/\/www.railscarma.com\/wp-content\/uploads\/2023\/02\/How-to-Dockerize-an-existing-Rails-application.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@railscarma","twitter_site":"@railscarma","twitter_misc":{"Verfasst von":"admin","Gesch\u00e4tzte Lesezeit":"4\u00a0Minuten"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.railscarma.com\/blog\/how-to-dockerize-an-existing-rails-application\/#article","isPartOf":{"@id":"https:\/\/www.railscarma.com\/blog\/how-to-dockerize-an-existing-rails-application\/"},"author":{"name":"admin","@id":"https:\/\/www.railscarma.com\/#\/schema\/person\/5f2228a2dec7549056e709de6eb85d21"},"headline":"How to Dockerize an existing Rails application?","datePublished":"2023-03-01T04:18:16+00:00","dateModified":"2023-04-03T12:44:10+00:00","mainEntityOfPage":{"@id":"https:\/\/www.railscarma.com\/blog\/how-to-dockerize-an-existing-rails-application\/"},"wordCount":902,"commentCount":0,"publisher":{"@id":"https:\/\/www.railscarma.com\/#organization"},"image":{"@id":"https:\/\/www.railscarma.com\/blog\/how-to-dockerize-an-existing-rails-application\/#primaryimage"},"thumbnailUrl":"https:\/\/www.railscarma.com\/wp-content\/uploads\/2023\/02\/How-to-Dockerize-an-existing-Rails-application.jpg","articleSection":["Blogs"],"inLanguage":"de","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.railscarma.com\/blog\/how-to-dockerize-an-existing-rails-application\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.railscarma.com\/blog\/how-to-dockerize-an-existing-rails-application\/","url":"https:\/\/www.railscarma.com\/blog\/how-to-dockerize-an-existing-rails-application\/","name":"Wie dockt man eine bestehende Rails-Anwendung? - Railscarma","isPartOf":{"@id":"https:\/\/www.railscarma.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.railscarma.com\/blog\/how-to-dockerize-an-existing-rails-application\/#primaryimage"},"image":{"@id":"https:\/\/www.railscarma.com\/blog\/how-to-dockerize-an-existing-rails-application\/#primaryimage"},"thumbnailUrl":"https:\/\/www.railscarma.com\/wp-content\/uploads\/2023\/02\/How-to-Dockerize-an-existing-Rails-application.jpg","datePublished":"2023-03-01T04:18:16+00:00","dateModified":"2023-04-03T12:44:10+00:00","description":"In diesem Artikel erfahren Sie, wie Sie eine bestehende Ruby on Rails-Anwendung dockerisieren k\u00f6nnen, um die Entwicklung schneller und einfacher zu gestalten.","breadcrumb":{"@id":"https:\/\/www.railscarma.com\/blog\/how-to-dockerize-an-existing-rails-application\/#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.railscarma.com\/blog\/how-to-dockerize-an-existing-rails-application\/"]}]},{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/www.railscarma.com\/blog\/how-to-dockerize-an-existing-rails-application\/#primaryimage","url":"https:\/\/www.railscarma.com\/wp-content\/uploads\/2023\/02\/How-to-Dockerize-an-existing-Rails-application.jpg","contentUrl":"https:\/\/www.railscarma.com\/wp-content\/uploads\/2023\/02\/How-to-Dockerize-an-existing-Rails-application.jpg","width":800,"height":300,"caption":"Dockerize Rails Application"},{"@type":"BreadcrumbList","@id":"https:\/\/www.railscarma.com\/blog\/how-to-dockerize-an-existing-rails-application\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.railscarma.com\/"},{"@type":"ListItem","position":2,"name":"How to Dockerize an existing Rails application?"}]},{"@type":"WebSite","@id":"https:\/\/www.railscarma.com\/#website","url":"https:\/\/www.railscarma.com\/","name":"RailsCarma \u2013 Ruby on Rails-Entwicklungsunternehmen, spezialisiert auf Offshore-Entwicklung","description":"RailsCarma ist ein Ruby on Rails-Entwicklungsunternehmen in Bangalore. Wir sind auf die Offshore-Ruby-on-Rails-Entwicklung mit Sitz in den USA und Indien spezialisiert. Stellen Sie erfahrene Ruby on Rails-Entwickler f\u00fcr das ultimative Web-Erlebnis ein.","publisher":{"@id":"https:\/\/www.railscarma.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.railscarma.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"de"},{"@type":"Organization","@id":"https:\/\/www.railscarma.com\/#organization","name":"SchienenCarma","url":"https:\/\/www.railscarma.com\/","logo":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/www.railscarma.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.railscarma.com\/wp-content\/uploads\/2020\/08\/railscarma_logo.png","contentUrl":"https:\/\/www.railscarma.com\/wp-content\/uploads\/2020\/08\/railscarma_logo.png","width":200,"height":46,"caption":"RailsCarma"},"image":{"@id":"https:\/\/www.railscarma.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RailsCarma\/","https:\/\/x.com\/railscarma","https:\/\/www.linkedin.com\/company\/railscarma\/","https:\/\/myspace.com\/railscarma","https:\/\/in.pinterest.com\/railscarma\/","https:\/\/www.youtube.com\/channel\/UCx3Wil-aAnDARuatTEyMdpg"]},{"@type":"Person","@id":"https:\/\/www.railscarma.com\/#\/schema\/person\/5f2228a2dec7549056e709de6eb85d21","name":"Administrator","image":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/www.railscarma.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/308867ca6c81f3aba146080c601000087180326f752c4116849ea9f514c6a4fa?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/308867ca6c81f3aba146080c601000087180326f752c4116849ea9f514c6a4fa?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/www.railscarma.com\/hire-ruby-on-rails-developer\/"]}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.railscarma.com\/de\/wp-json\/wp\/v2\/posts\/37027","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.railscarma.com\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.railscarma.com\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.railscarma.com\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.railscarma.com\/de\/wp-json\/wp\/v2\/comments?post=37027"}],"version-history":[{"count":0,"href":"https:\/\/www.railscarma.com\/de\/wp-json\/wp\/v2\/posts\/37027\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.railscarma.com\/de\/wp-json\/wp\/v2\/media\/37032"}],"wp:attachment":[{"href":"https:\/\/www.railscarma.com\/de\/wp-json\/wp\/v2\/media?parent=37027"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.railscarma.com\/de\/wp-json\/wp\/v2\/categories?post=37027"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.railscarma.com\/de\/wp-json\/wp\/v2\/tags?post=37027"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}