Changes
From SME Server
Jump to navigation
Jump to search
← Older edit
Newer edit →
Docker
(view source)
Revision as of 15:37, 17 November 2022
605 bytes added
,
15:37, 17 November 2022
→SME Server specifics
Line 199:
Line 199:
'''/home/e-smith/files/docker'''
'''/home/e-smith/files/docker'''
+
===File permissions===
+
+
You may have issues writing to local filesystems from Docker images.
+
+
First add something like this to your compose file
+
+
volumes:
+
- /opt/uploads/:/opt/uploads/
+
+
You may need to find out what permissions are required.
+
+
+
In RocketChat I had to add a dummy user and group like this
+
+
mkdir -p /opt/uploads
+
chmod 0777 /opt/uploads
+
+
I then could upload and check the ID that docker users. I thins case it was 65533
+
+
So I then did:
+
groupadd -g 65553 rocketchat
+
useradd -s /sbin/nologin -u 65533 -d /dev/null -g rocketchat rocketchat
+
chmod 0744 /opt/uploads
+
+
And then test again.
===Using a Docker image===
===Using a Docker image===
ReetP
Bureaucrats
,
Administrators (Semantic MediaWiki)
,
Curators (Semantic MediaWiki)
,
Administrators
877
edits
Navigation menu
Page actions
Page
Discussion
View source
History
Page actions
Page
Discussion
More
Tools
In other languages
Personal tools
English
Log in
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version
Search