09-07-2018, 11:31 AM
(This post was last modified: 09-07-2018, 11:35 AM by Trash_Can_Man.)
(09-07-2018, 08:03 AM)prog-amateur Wrote:(09-06-2018, 02:15 PM)Trash_Can_Man Wrote: If you prefer ready to use images you can also consider this, i dont use nextcloud but i DO use syncthing and several other dockers and they all come ready to use, dependencies, setup, everything, exept your personal info and own setup ofc...
Thank you very much. I will check, the only issue here is my knowledge, I have never tried docker, so I will read how it works and how to install it !
Its easy, on most distros its just "sudo apt-get install docker" then use the command on the docker image webpage:
Code:
docker create \
--name nextcloud \
-p 443:443 \
-e PUID=<UID> -e PGID=<GID> \
-v </path/to/appdata>:/config \
-v <path/to/data>:/data \
lsioarmhf/nextcloud-aarch64
replace paths and PGID/PUID with your values, one important tip about the path, in that example "/path/to/appdata" refers to a path OUTSIDE the container and "/config" refers to a path INSIDE the container, containers are isolated from the underlying OS and this path creation is a way to cross easily that barrier...PGID and PUID refer to the user you want to use to run the WHOLE container, its a user OUTSIDE the container ofc and preferably it shouldnt be root and should have write permission to the set paths OUTSIDE...
finally you do:
Code:
docker start nextcloud
and your container is runing (give it time to start ofc, this one seems lightweight so i guess one minute should be more than enough), after this most containers have some form of admin webpage, never used nextcloud but a fair guess is that such admin page should be on http://ip-of-your-board:443 in this case since its opening that exact port
and btw its not detailed on the container webpage but i suggest to add "--restart=unless-stopped" to the creation command so if the docker is stopped for any reason it should restart (unless you stop it manually)
another suggestion, run this:
Code:
docker run -d -p 9000:9000 --name=portainer --net=host --restart=unless-stopped -v /var/run/docker.sock:/var/run/docker.sock -v /data:/data portainer/portainer