From 71549c49ebbb4eca8ab718c1eccd2c221a782bb1 Mon Sep 17 00:00:00 2001 From: szaimen Date: Fri, 8 Jul 2022 11:48:42 +0200 Subject: [PATCH] document how to enable ipv6 support Signed-off-by: szaimen --- docker-rootless.md | 1 + readme.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-rootless.md b/docker-rootless.md index cc0078ac..ad2f12dd 100644 --- a/docker-rootless.md +++ b/docker-rootless.md @@ -4,6 +4,7 @@ You can run AIO with docker rootless by following the steps below. 0. If docker is already installed, you should consider disabling it first: (`sudo systemctl disable --now docker.service docker.socket`) 1. Install docker rootless by following the official documentation: https://docs.docker.com/engine/security/rootless/#install. The easiest way is installing it **Without packages**. Further limitations, distribution specific hints, etc. are discussed on the same site. Also do not forget to enable the systemd service, which may not be enabled always by default. See https://docs.docker.com/engine/security/rootless/#usage. (`systemctl --user enable docker`) +1. If you need ipv6 support, you should enable it by following https://docs.docker.com/config/daemon/ipv6/. The daemon.json file is most likely stored in `~/.config/docker/daemon.json`. 1. Do not forget to set the mentioned environmental variables and in best case add them to your `~/.bashrc` file as shown! 1. Expose the privileged ports by following https://docs.docker.com/engine/security/rootless/#exposing-privileged-ports. (`sudo setcap cap_net_bind_service=ep $(which rootlesskit); systemctl --user restart docker`) 1. Use the official AIO startup command but use `--volume $XDG_RUNTIME_DIR/docker.sock:/var/run/docker.sock:ro` instead of `--volume /var/run/docker.sock:/var/run/docker.sock:ro` and also add `-e DOCKER_SOCKET_PATH=$XDG_RUNTIME_DIR/docker.sock` to the initial container startup (which is needed for mastercontainer updates to work correctly). diff --git a/readme.md b/readme.md index 93aecc5a..fc0cf167 100644 --- a/readme.md +++ b/readme.md @@ -16,7 +16,7 @@ The following instructions are especially meant for Linux. For macOS see [this]( ``` curl -fsSL get.docker.com | sudo sh ``` - +1. If you need ipv6 support, you should enable it by following https://docs.docker.com/config/daemon/ipv6/. 2. Run the command below in order to start the container:

(For people that cannot use ports 80 and/or 443 on this server, please follow the [reverse proxy documentation](https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md) because port 443 is used by this project and opened on the host by default even though it does not look like this is the case. Otherwise please run the command below!) ```