Skip to content

maximilian1001/docker-all-nextcloud-smb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker Nextcloud images (apache versions) with installed smbclient

Nextcloud publishes in the official repo only the base versions, but no images with pre-installed smbclient. However, this is required to connect SMB/CIFS storage as external storage.

This repo contains all apache docker images for nextcloud with installed smbclient.

Using the image

The apache image contains a webserver and exposes port 80. To start the container type:

$ docker run -d -p 8080:80 ghcr.io/maximilian1001/docker-all-nextcloud-smb:apache

Now you can access Nextcloud at http://localhost:8080/⁠ from your host system.

Understanding the labels

The tags of the original versions are adopted unchanged by nextcloud. Check the Nextcloud Docker Hub Documentation to learn more about the tags.

Use the apache-tag, to get the latest version.

How does it work?

The original images are taken and the following commands (see Dockerfile) are executed to install smbclient:

apt-get update && apt-get install -y smbclient libsmbclient-dev && rm -rf /var/lib/apt/lists/*
pecl install smbclient
echo "extension=smbclient.so" >> /usr/local/etc/php/conf.d/nextcloud.ini

About

all apache nextcloud docker images with SMBclient installed

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages