<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Cloudron CLI within an app?]]></title><description><![CDATA[<p dir="auto">Hi,<br />
While reading the docs for creating a Custom App I ran into the following warning:</p>
<blockquote>
<p dir="auto">The Cloudron CLI is intended to be installed on your PC/Mac and should NOT be installed on the Cloudron.</p>
</blockquote>
<p dir="auto">Some background regarding the problem I'm trying to solve: I want to create a Custom App based on the Docker image of <a href="http://coder.com" target="_blank" rel="noopener noreferrer nofollow ugc">coder.com</a>. Within this environment I'll be developing applications. After each <code>git push</code> the idea is to do a <code>docker build</code> and <code>docker push</code>. At this point git and the Docker Registry are up to date.</p>
<p dir="auto">The next step would be to 'push' these changes to Cloudron. To do this I have to execute <code>cloudron push</code> or <code>cloudron update</code>. Would this work considering that I'm working within a Cloudron app? Or would it be more recommended to do this step on a higher level or a different environment?</p>
<p dir="auto">Does this flow make sense? Apologies if this is a dumb question <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=a9807027800" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://forum.cloudron.io/topic/4357/cloudron-cli-within-an-app</link><generator>RSS for Node</generator><lastBuildDate>Wed, 09 Sep 2026 00:19:49 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/4357.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 03 Feb 2021 19:56:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Cloudron CLI within an app? on Wed, 03 Feb 2021 22:10:55 GMT]]></title><description><![CDATA[<p dir="auto">This sounds like it should be a part of the <code>build</code> package and/or the <code>registry</code> package, depending on use case.</p>
]]></description><link>https://forum.cloudron.io/post/24839</link><guid isPermaLink="true">https://forum.cloudron.io/post/24839</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Wed, 03 Feb 2021 22:10:55 GMT</pubDate></item><item><title><![CDATA[Reply to Cloudron CLI within an app? on Wed, 03 Feb 2021 21:12:03 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a>, the usecase is that I want my dev environment on a remote VPS so I don't need to worry about backups or my laptop breaking all of a sudden. I need to be able to switch to another laptop with minimal effort.</p>
<p dir="auto">Up until now I've got this working pretty well on a VPS but keeping it up to date and managing configurations is a pain. Cloudron seems to solve that.</p>
<p dir="auto">Even though the CLI is very intuitive, the build service seems interesting, I'll look into that, thanks!</p>
]]></description><link>https://forum.cloudron.io/post/24831</link><guid isPermaLink="true">https://forum.cloudron.io/post/24831</guid><dc:creator><![CDATA[mmolivier]]></dc:creator><pubDate>Wed, 03 Feb 2021 21:12:03 GMT</pubDate></item><item><title><![CDATA[Reply to Cloudron CLI within an app? on Wed, 03 Feb 2021 20:53:00 GMT]]></title><description><![CDATA[<p dir="auto">Using cloudron-cli within an app as such is no issue. However I wonder what your use-case for such an app is. It looks like you have git and such tools on your laptop/desktop already, so maybe the Cloudron build service app is what could help you as well, if your concern is building docker images on your laptop and pushing them to the docker hub or other registries: <a href="https://www.cloudron.io/store/io.cloudron.buildservice.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.cloudron.io/store/io.cloudron.buildservice.html</a> or the docs have more info <a href="https://docs.cloudron.io/apps/build-service/" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/apps/build-service/</a></p>
<p dir="auto">In fact we mostly built that to speed up docker pushes (for example when working out of a cafe wifi <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=a9807027800" class="not-responsive emoji emoji-android emoji--wink" style="height:23px;width:auto;vertical-align:middle" title=";-)" alt="😉" /> ) and avoiding the need to have a properly working docker environment locally.</p>
]]></description><link>https://forum.cloudron.io/post/24828</link><guid isPermaLink="true">https://forum.cloudron.io/post/24828</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Wed, 03 Feb 2021 20:53:00 GMT</pubDate></item><item><title><![CDATA[Reply to Cloudron CLI within an app? on Wed, 03 Feb 2021 20:22:32 GMT]]></title><description><![CDATA[<p dir="auto">Yea I just re-read your issue. (and you commented what I just gathered)<br />
Since you are inside the cloudron app you need to install the cloudron-cli inside the app.</p>
<p dir="auto">aka. while building the container.</p>
]]></description><link>https://forum.cloudron.io/post/24826</link><guid isPermaLink="true">https://forum.cloudron.io/post/24826</guid><dc:creator><![CDATA[BrutalBirdie]]></dc:creator><pubDate>Wed, 03 Feb 2021 20:22:32 GMT</pubDate></item><item><title><![CDATA[Reply to Cloudron CLI within an app? on Wed, 03 Feb 2021 20:18:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/brutalbirdie" aria-label="Profile: brutalbirdie">@<bdi>brutalbirdie</bdi></a> right, but you're running these commands from your local desktop right? In my case the "local desktop" would be an installed app. In theory the Cloudron CLI tool should work, but the warning in the docs made me doubt.</p>
]]></description><link>https://forum.cloudron.io/post/24825</link><guid isPermaLink="true">https://forum.cloudron.io/post/24825</guid><dc:creator><![CDATA[mmolivier]]></dc:creator><pubDate>Wed, 03 Feb 2021 20:18:10 GMT</pubDate></item><item><title><![CDATA[Reply to Cloudron CLI within an app? on Wed, 03 Feb 2021 20:09:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mmolivier" aria-label="Profile: mmolivier">@<bdi>mmolivier</bdi></a></p>
<p dir="auto">Example from me wanting to update my custom forked minecraft app (1.3.9 to 1.4.0) after I merged the recent updates from the original</p>
<pre><code># build my image
╭─eha-desktop in ⌁
╰─λ docker build -t brutalbirdie/minecraft-app:1.4.0 .

# Push my image
╭─eha at eha-desktop in ⌁
╰─λ docker push brutalbirdie/minecraft-app:1.4.0

# Update my installed App and do not run a backup
╭─eha at eha-desktop in ⌁
╰─λ cloudron update --no-backup --image brutalbirdie/minecraft-app:1.4.0 --app mc.domain.tld
</code></pre>
<p dir="auto">Note that <code>docker push</code> uses your configured registry, in my case it was <a href="https://hub.docker.com/repository/docker/brutalbirdie/minecraft-app" target="_blank" rel="noopener noreferrer nofollow ugc">hub.docker.com</a><br />
You also need to configure your docker registry in cloudron.</p>
<p dir="auto"><img src="/assets/uploads/files/1612382914913-33c89a18-6924-4e91-80c6-e3f6b9e6e50f-image.png" alt="33c89a18-6924-4e91-80c6-e3f6b9e6e50f-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.cloudron.io/post/24824</link><guid isPermaLink="true">https://forum.cloudron.io/post/24824</guid><dc:creator><![CDATA[BrutalBirdie]]></dc:creator><pubDate>Wed, 03 Feb 2021 20:09:51 GMT</pubDate></item></channel></rss>