Add Akkoma in Docker TIL
This commit is contained in:
parent
e7de1545e8
commit
67f54b7c02
3 changed files with 57 additions and 1 deletions
33
til/akkoma-in-docker.html
Normal file
33
til/akkoma-in-docker.html
Normal file
|
@ -0,0 +1,33 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta content="width=device-width, initial-scale=1" charset="utf-8" />
|
||||
<link rel="icon" href="/assets/askiiart.gif" type="image/icon">
|
||||
<title>Akkoma in Docker</title>
|
||||
<link href="/style.css" type="text/css" rel="stylesheet" />
|
||||
<link href="/prism.css" rel="stylesheet" />
|
||||
</head>
|
||||
<body class="line-numbers">
|
||||
<h1 id="akkoma-in-docker">Akkoma in Docker</h1>
|
||||
<p>Okay, so first of all, it doesn't work when running inside
|
||||
the container as root. You can run the Docker daemon as root,
|
||||
but if you're the root you'll have to change it up a bit to use
|
||||
some other UID/GID, not 0 and 0.</p>
|
||||
<p>Besides that, Akkoma's documentation isn't quite complete.
|
||||
Some commands are missing a Docker version in the docs. But
|
||||
running it in Docker is the same as running it from source, it's
|
||||
just, well, in Docker.</p>
|
||||
<p>So for "from source" commands, to use them in Docker, you
|
||||
just prepend <code>./docker-resources/manage.sh</code>. For
|
||||
example...</p>
|
||||
<div class="sourceCode" id="cb1"><pre
|
||||
class="language-bash"><code class="language-bash"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="ex">mix</span> pleroma.user invite</span></code></pre></div>
|
||||
<p>...would instead become...</p>
|
||||
<div class="sourceCode" id="cb2"><pre
|
||||
class="language-bash"><code class="language-bash"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./docker-resources/manage.sh</span> mix pleroma.user invite</span></code></pre></div>
|
||||
<script src="/prism.js"></script>
|
||||
</body>
|
||||
<footer>
|
||||
<p><a href="https://git.askiiart.net/askiiart/askiiart-net">code</a> (<a href="https://github.com/askiiart/askiiart.github.io">mirror</a>) <a href="/feed.xml">rss</a> <a href="/pubkey.asc">pubkey</a></p>
|
||||
</footer>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue