Hello to all. Having a problem install nextcloud to raspberry pi docker compose, is working fine i try to install smbclient thru the console using portainer and i get this message
apt install smbclient
Reading package listsā¦ Done
Building dependency tree
Reading state informationā¦ Done
E: Unable to locate package smbclient
to my is like i am not going out to the internet from this container, my other containers apps if i send a ping or update do not have any problems also if i try to update my pi no problem. Can some one help any ideas
Thank you
I have exactly the same issue. I have installed nextcloud original image in docker on a raspberry pi and somehow it didnāt come with smbclient installed in it. Iām trying to add an external extorage through smb but as you can see until I get smbclient installed it wonāt be possible.
My docker compose file looks like:
@jorge_gomez@AFVare if you run apt install in the container all changes will be lost after next update of the image. and there are often updates. if you are fine with this: ok. do it.
it seems that dns isnāt working inside the container. you may check /etc/resolve.conf before you run apt install
wouldnāt it be easier to mount your smbshares on the host and add them as volumes to your container?
and use /var/smb_shares als ālocalā external storage.
Thank you for the advices @Reiner_Nippes but the shares are in a different device thatās why I would like to mount them through smb.
I actually did the install through the container terminal but as you say itāll be lost with the next update. Is there any way to build the smb along with the stack?