improve steps in the readme

Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
szaimen 2021-12-01 09:23:44 +01:00
parent 9babba64a9
commit fe3079e5b5

View file

@ -16,10 +16,21 @@ Included are:
## How to use this? ## How to use this?
1. Install Docker on your Linux installations using: 1. Install Docker on your Linux installations using:
``` ```
curl -fsSL get.docker.com | sudo sh curl -fsSL get.docker.com | sudo sh
``` ```
2. Run the following command: 2. Make sure that the docker group has the correct groupid:
```
sudo groupmod -g 998 docker
```
3. Make sure to pull the latest image:
```
sudo docker pull nextcloud/all-in-one:latest
```
4. Run the following command in order to start the container:
``` ```
sudo docker run -it \ sudo docker run -it \
@ -32,7 +43,7 @@ sudo docker run -it \
--volume /var/run/docker.sock:/var/run/docker.sock:ro \ --volume /var/run/docker.sock:/var/run/docker.sock:ro \
nextcloud/all-in-one:latest nextcloud/all-in-one:latest
``` ```
3. After the initial startup, you should be able to open the Nextcloud AIO Interface now on port 8080 of this server.<br> 5. After the initial startup, you should be able to open the Nextcloud AIO Interface now on port 8080 of this server.<br>
E.g. https://internal.ip.of.this.server:8080<br> E.g. https://internal.ip.of.this.server:8080<br>
If your server has port 80 and 8443 open and you point a domain to your server, you can get a valid certificate automatially by opening the Nextcloud AIO Interface via:<br> If your server has port 80 and 8443 open and you point a domain to your server, you can get a valid certificate automatially by opening the Nextcloud AIO Interface via:<br>
https://your-domain-that-points-to-this-server.tld:8443 https://your-domain-that-points-to-this-server.tld:8443