{"id":3836,"date":"2023-08-22T19:03:11","date_gmt":"2023-08-22T23:03:11","guid":{"rendered":"https:\/\/dft.wiki\/?p=3836"},"modified":"2026-06-08T16:33:06","modified_gmt":"2026-06-08T20:33:06","slug":"managing-dockers-containers-with-casaos","status":"publish","type":"post","link":"https:\/\/dft.wiki\/?p=3836","title":{"rendered":"Managing Dockers Containers with CasaOS"},"content":{"rendered":"<p><strong>CasaOS<\/strong> is defined as &#8220;A simple, easy-to-use, elegant open-source Personal Cloud system&#8221; written in Go. It makes everything available at the click of a button [<a href=\"https:\/\/github.com\/IceWhaleTech\/CasaOS\">Link<\/a>].<\/p>\n<p>See also the post about Portainer [<a href=\"https:\/\/dft.wiki\/?p=1509\">Link<\/a>].<\/p>\n<p>See also the post about Yacht [<a href=\"https:\/\/dft.wiki\/?p=1499\">Link<\/a>].<\/p>\n<hr \/>\n<p><strong>INSTALLATION<\/strong><\/p>\n<p>The single line installation command does everything. No interaction needed:<\/p>\n<pre>curl -fsSL https:\/\/get.casaos.io | sudo bash<\/pre>\n<p><strong>Note:<\/strong> It is recommended to install on top of a fresh installation of Ubuntu, Debian, or Raspberry Pi OS, either in a virtualisation environment or on bare metal.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3847\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2023\/08\/Screenshot-from-2023-12-22-12-09-48.png\" alt=\"\" width=\"776\" height=\"586\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2023\/08\/Screenshot-from-2023-12-22-12-09-48.png 776w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2023\/08\/Screenshot-from-2023-12-22-12-09-48-300x227.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2023\/08\/Screenshot-from-2023-12-22-12-09-48-768x580.png 768w\" sizes=\"auto, (max-width: 776px) 100vw, 776px\" \/><\/p>\n<p style=\"text-align: center;\">&#8230;give it some time to finish&#8230;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3848\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2023\/08\/Screenshot-from-2023-12-22-12-11-59.png\" alt=\"\" width=\"862\" height=\"733\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2023\/08\/Screenshot-from-2023-12-22-12-11-59.png 862w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2023\/08\/Screenshot-from-2023-12-22-12-11-59-300x255.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2023\/08\/Screenshot-from-2023-12-22-12-11-59-768x653.png 768w\" sizes=\"auto, (max-width: 862px) 100vw, 862px\" \/><\/p>\n<p>Navigate to <strong>http:\/\/127.0.0.1<\/strong>, or using the network IP (in my case http:\/\/192.168.1.177) from another machine, and create the administrator account.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3851\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2023\/08\/Screenshot-from-2023-12-22-12-14-33.png\" alt=\"\" width=\"1245\" height=\"1114\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2023\/08\/Screenshot-from-2023-12-22-12-14-33.png 1245w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2023\/08\/Screenshot-from-2023-12-22-12-14-33-300x268.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2023\/08\/Screenshot-from-2023-12-22-12-14-33-1024x916.png 1024w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2023\/08\/Screenshot-from-2023-12-22-12-14-33-768x687.png 768w\" sizes=\"auto, (max-width: 1245px) 100vw, 1245px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3850\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2023\/08\/Screenshot-from-2023-12-22-12-14-44.png\" alt=\"\" width=\"1245\" height=\"1114\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2023\/08\/Screenshot-from-2023-12-22-12-14-44.png 1245w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2023\/08\/Screenshot-from-2023-12-22-12-14-44-300x268.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2023\/08\/Screenshot-from-2023-12-22-12-14-44-1024x916.png 1024w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2023\/08\/Screenshot-from-2023-12-22-12-14-44-768x687.png 768w\" sizes=\"auto, (max-width: 1245px) 100vw, 1245px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3849\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2023\/08\/Screenshot-from-2023-12-22-12-15-10.png\" alt=\"\" width=\"1245\" height=\"1114\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2023\/08\/Screenshot-from-2023-12-22-12-15-10.png 1245w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2023\/08\/Screenshot-from-2023-12-22-12-15-10-300x268.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2023\/08\/Screenshot-from-2023-12-22-12-15-10-1024x916.png 1024w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2023\/08\/Screenshot-from-2023-12-22-12-15-10-768x687.png 768w\" sizes=\"auto, (max-width: 1245px) 100vw, 1245px\" \/><\/p>\n<p>That is all it takes!<\/p>\n<p>To <strong>uninstall<\/strong>:<\/p>\n<pre>curl -fsSL https:\/\/get.icewhale.io\/casaos-uninstall.sh | sudo bash<\/pre>\n<hr \/>\n<p><strong>IMPORTANT CONSIDERATIONS<\/strong><\/p>\n<p>Do not expose this web application directly to the internet, as it uses HTTP (an unencrypted protocol). Instead, use a reverse proxy that terminates the SSL\/TLS connection (HTTPS) and forwards traffic locally to CasaOS.<\/p>\n<p>A great tool to expose your web application to the internet without a dynamic DNS or port forwarding on your modem is <span style=\"text-decoration: underline;\">CloudFlare Tunnel<\/span> (available in the App Store).<\/p>\n<hr \/>\n<p><strong>CUSTOM APPLICATION INSTALLATIONS<\/strong><\/p>\n<p><strong>Remote Desktop (Ubuntu-Xfce)<\/strong><\/p>\n<pre>docker run -d \\\r\n  --name=UbuntoDesk \\\r\n  --security-opt seccomp=unconfined \\\r\n  -e PUID=1000 \\\r\n  -e PGID=1000 \\\r\n  -e TZ=America\/Toronto \\\r\n  -p 3389:3389 \\\r\n  --restart unless-stopped \\\r\n  lscr.io\/linuxserver\/rdesktop:<strong>ubuntu-mate<\/strong><\/pre>\n<p>The default username and password are <code>abc:abc<\/code> (change it!)<\/p>\n<p>See more installation and configuration options at [<a href=\"https:\/\/hub.docker.com\/r\/linuxserver\/rdesktop\">Link<\/a>].<\/p>\n<hr \/>\n<p><strong>REFLECTION NOTES<\/strong><\/p>\n<p>CasaOS is a slick tool for hosting containerised services in a home or small office network, though it is not an enterprise-level platform. The number of one-click tools it offers is impressive, but it lacks a remote desktop environment and multi-user account management.<\/p>\n<p>Recommended apps for any scenario:<\/p>\n<ul>\n<li>CloudFlare Tunnel\n<ul>\n<li>For exposing a WebUI to the internet behind a CDN.<\/li>\n<\/ul>\n<\/li>\n<li>Duplicati\n<ul>\n<li>A reliable backup tool.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>Recommended apps for a Home Cloud:<\/p>\n<ul>\n<li>Transmission\n<ul>\n<li>For downloading and seeding files via torrent.<\/li>\n<\/ul>\n<\/li>\n<li>Plex\n<ul>\n<li>A good entertainment server.<\/li>\n<\/ul>\n<\/li>\n<li>Pi-Hole\n<ul>\n<li>A DNS blocker that protects devices on your network from ads and threats.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>Recommended apps for a Home Lab:<\/p>\n<ul>\n<li>Grafana\n<ul>\n<li>A powerful system health monitoring tool.<\/li>\n<\/ul>\n<\/li>\n<li>Adminer\n<ul>\n<li>A lightweight client for managing MySQL\/MariaDB.<\/li>\n<\/ul>\n<\/li>\n<li>NextCloud\n<ul>\n<li>A fully-fledged collaboration tool for storing and sharing files and documents.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CasaOS is defined as &#8220;A simple, easy-to-use, elegant open-source Personal Cloud system&#8221; written in Go. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,6],"tags":[],"class_list":["post-3836","post","type-post","status-publish","format-standard","hentry","category-linux","category-raspberry-pi"],"_links":{"self":[{"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/posts\/3836","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dft.wiki\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3836"}],"version-history":[{"count":9,"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/posts\/3836\/revisions"}],"predecessor-version":[{"id":5636,"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/posts\/3836\/revisions\/5636"}],"wp:attachment":[{"href":"https:\/\/dft.wiki\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3836"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dft.wiki\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3836"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dft.wiki\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3836"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}