Docker: Difference between revisions

m fix heading level
m I documented how to enable rootless docker
Line 38: Line 38:


The <code>setSocketVariable</code> option sets the <code>DOCKER_HOST</code> variable to the rootless Docker instance for normal users by default.
The <code>setSocketVariable</code> option sets the <code>DOCKER_HOST</code> variable to the rootless Docker instance for normal users by default.
Docker can now be rootlessly enabled with:
<syntaxHighlight lang=bash>
$ systemctl --user enable --now docker
</syntaxHighlight>
It's status can be checked with:
<syntaxHighlight lang=bash>
$ systemctl --user status docker
</syntaxHighlight>


=== Changing Docker Daemon's Data Root ===
=== Changing Docker Daemon's Data Root ===